mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 19:43:33 +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) {}
|
lazy() : value(T()), initialized(false) {}
|
||||||
|
|
||||||
template <class F>
|
template <class F>
|
||||||
T const& get_lazy(F& f) const
|
T const& get_lazy(const F& f) const
|
||||||
{
|
{
|
||||||
if (!initialized)
|
if (!initialized)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user