From 82becf56b0e96bf0a3cf94b279a3aaeca32dc8df Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Wed, 9 Mar 2016 15:50:21 +0100 Subject: [PATCH] [4212] Compilation fix --- src/lib/dhcpsrv/mysql_host_data_source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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