Browse Source

[master] Compilation fix for Solaris in LeaseMgr

Tomek Mrugalski 12 years ago
parent
commit
64bba5b1c6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/dhcp/lease_mgr.cc

+ 2 - 1
src/lib/dhcp/lease_mgr.cc

@@ -54,7 +54,8 @@ LeaseMgr::LeaseMgr(const std::string& dbconfig) {
 }
 
 std::string LeaseMgr::getParameter(const std::string& name) const {
-    map<string, string>::const_iterator param = parameters_.find(name);
+    std::map<std::string, std::string>::const_iterator param
+        = parameters_.find(name);
     if (param == parameters_.end()) {
         isc_throw(BadValue, "Parameter not found");
     }