diff options
| -rw-r--r-- | toolsrc/include/lazy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/lazy.h b/toolsrc/include/lazy.h index f9dbd8dc7..0fa50dc4d 100644 --- a/toolsrc/include/lazy.h +++ b/toolsrc/include/lazy.h @@ -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) { |
