Browse Source

[510] use std::map instead of boost::unordered_map

boost/unordered_map.hpp is available since Boost 1.36. we should
consider to check if the header file is present with configure.
Yoshitaka Aharen 13 years ago
parent
commit
f84f26374f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/statistics/counter_dict.cc

+ 2 - 2
src/lib/statistics/counter_dict.cc

@@ -1,15 +1,15 @@
 #include <cassert>
 #include <stdexcept>
 #include <iterator>
+#include <map>
 #include <boost/noncopyable.hpp>
 #include <boost/shared_ptr.hpp>
-#include <boost/unordered_map.hpp>
 
 #include <statistics/counter_dict.h>
 
 namespace {
 typedef boost::shared_ptr<isc::statistics::Counter> CounterPtr;
-typedef boost::unordered_map<std::string, CounterPtr> DictionaryMap;
+typedef std::map<std::string, CounterPtr> DictionaryMap;
 }
 
 namespace isc {