From 66ebb6ce2bffa942bda973891cef9e0ae2103ce5 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Mon, 13 Mar 2017 16:27:08 -0700 Subject: Make parameter const to avoid C4239 warnings --- toolsrc/include/lazy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolsrc/include') 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 - T const& get_lazy(F& f) const + T const& get_lazy(const F& f) const { if (!initialized) { -- cgit v1.2.3