]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4212] Compilation fix
authorTomek Mrugalski <tomasz@isc.org>
Wed, 9 Mar 2016 14:50:21 +0000 (15:50 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 9 Mar 2016 14:50:21 +0000 (15:50 +0100)
src/lib/dhcpsrv/mysql_host_data_source.cc

index 2b1a11285dd2ce01ae4a9181b83799ed8a0596ad..26de32b9d4ccfe20947d2c76749a3a2468b021da 100644 (file)
@@ -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