Make parameter const to avoid C4239 warnings

This commit is contained in:
Alexander Karatarakis 2017-03-13 16:27:08 -07:00
parent a92ecac8a7
commit 66ebb6ce2b

View File

@ -9,7 +9,7 @@ namespace vcpkg
lazy() : value(T()), initialized(false) {}
template <class F>
T const& get_lazy(F& f) const
T const& get_lazy(const F& f) const
{
if (!initialized)
{