mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 11:37:12 +01:00
Make parameter const to avoid C4239 warnings
This commit is contained in:
parent
a92ecac8a7
commit
66ebb6ce2b
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user