Parcourir la source

[master] Fixed compilation error in D2

Thomas Markwalder il y a 10 ans
Parent
commit
6582b6c271
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/bin/d2/d_cfg_mgr.cc

+ 1 - 1
src/bin/d2/d_cfg_mgr.cc

@@ -197,7 +197,7 @@ DCfgMgrBase::parseConfig(isc::data::ConstElementPtr config_set) {
             // thrown.  Note, that elements tagged as "optional" from the user
             // perspective must still have default or empty entries in the
             // configuration set to be parsed.
-            std::map<std::string, ConstElementPtr>::const_iterator it;
+            std::map<std::string, ConstElementPtr>::iterator it;
             BOOST_FOREACH(element_id, parse_order_) {
                 it = objects_map.find(element_id);
                 if (it != objects_map.end()) {