Browse Source

[4212] Compilation fix

Tomek Mrugalski 9 years ago
parent
commit
82becf56b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcpsrv/mysql_host_data_source.cc

+ 1 - 1
src/lib/dhcpsrv/mysql_host_data_source.cc

@@ -774,7 +774,7 @@ public:
             // performance implications. Alternatively, we could store the
             // most recently added host in a class member but this would
             // make the code less readable.
-            most_recent_host = const_pointer_cast<Host>(hosts.back());
+            most_recent_host = boost::const_pointer_cast<Host>(hosts.back());
         }
 
         // If there is no existing host or the new host id doesn't match