2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[4212] Compilation fix

This commit is contained in:
Tomek Mrugalski 2016-03-09 15:50:21 +01:00
parent 7284e68744
commit 82becf56b0

View 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