From: Tomek Mrugalski Date: Wed, 9 Mar 2016 14:50:21 +0000 (+0100) Subject: [4212] Compilation fix X-Git-Tag: trac4268a_base^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82becf56b0e96bf0a3cf94b279a3aaeca32dc8df;p=thirdparty%2Fkea.git [4212] Compilation fix --- diff --git a/src/lib/dhcpsrv/mysql_host_data_source.cc b/src/lib/dhcpsrv/mysql_host_data_source.cc index 2b1a11285d..26de32b9d4 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.cc +++ b/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(hosts.back()); + most_recent_host = boost::const_pointer_cast(hosts.back()); } // If there is no existing host or the new host id doesn't match