diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 16:27:08 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 17:56:21 -0700 |
| commit | 66ebb6ce2bffa942bda973891cef9e0ae2103ce5 (patch) | |
| tree | 7419c91b3c6c6e75e5483436ad5c4832ec095e5b /toolsrc/include | |
| parent | a92ecac8a79c9b03ba3aa86b1478f75c4d2f8847 (diff) | |
| download | vcpkg-66ebb6ce2bffa942bda973891cef9e0ae2103ce5.tar.gz vcpkg-66ebb6ce2bffa942bda973891cef9e0ae2103ce5.zip | |
Make parameter const to avoid C4239 warnings
Diffstat (limited to 'toolsrc/include')
| -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) { |
