aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/BuildInfo.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-16 20:17:24 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-16 20:17:24 -0800
commit835693ce97f271c0213f65c1c782e8df84cfb409 (patch)
tree8faf7e8c7b7ea83cbfdede8e89c41eac99c086a2 /toolsrc/src/BuildInfo.cpp
parent73bf8306b29d68853dc3c97d5dd415bd5e857cf5 (diff)
downloadvcpkg-835693ce97f271c0213f65c1c782e8df84cfb409.tar.gz
vcpkg-835693ce97f271c0213f65c1c782e8df84cfb409.zip
Don't return by const value
Diffstat (limited to 'toolsrc/src/BuildInfo.cpp')
-rw-r--r--toolsrc/src/BuildInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/BuildInfo.cpp b/toolsrc/src/BuildInfo.cpp
index ddd44a1e6..f151a3ea5 100644
--- a/toolsrc/src/BuildInfo.cpp
+++ b/toolsrc/src/BuildInfo.cpp
@@ -151,7 +151,7 @@ namespace vcpkg { namespace PostBuildLint
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCRT20_DLL = OutdatedDynamicCrt("msvcrt20.dll", R"(msvcrt20\.dll)");;
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCRT40_DLL = OutdatedDynamicCrt("msvcrt40.dll", R"(msvcrt40\.dll)");;
- const std::regex OutdatedDynamicCrt::crt_regex() const
+ std::regex OutdatedDynamicCrt::crt_regex() const
{
const std::regex r(this->m_crt_regex_as_string, std::regex_constants::icase);
return r;