aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/BuildInfo.cpp
diff options
context:
space:
mode:
authordevel <alexander.kaspar@gmail.com>2016-11-27 07:54:53 +0100
committerdevel <alexander.kaspar@gmail.com>2016-11-27 07:54:53 +0100
commit5ba4567c0261eab34c968b302f6d58b48bd82699 (patch)
tree498963c5f3ca10a618ec00067e88e475b7b12779 /toolsrc/src/BuildInfo.cpp
parent877b237f6f22fdc098051f550c7b9dcf26afe3ec (diff)
parentbc8a015889caa63c4d3ebac06714b1b5601e638e (diff)
downloadvcpkg-5ba4567c0261eab34c968b302f6d58b48bd82699.tar.gz
vcpkg-5ba4567c0261eab34c968b302f6d58b48bd82699.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into qca
Diffstat (limited to 'toolsrc/src/BuildInfo.cpp')
-rw-r--r--toolsrc/src/BuildInfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/src/BuildInfo.cpp b/toolsrc/src/BuildInfo.cpp
index 1f802869f..8d46a0dba 100644
--- a/toolsrc/src/BuildInfo.cpp
+++ b/toolsrc/src/BuildInfo.cpp
@@ -14,15 +14,15 @@ namespace vcpkg
return this->m_linkage;
}
- const std::regex& BuildType::crt_regex() const
+ const std::regex BuildType::crt_regex() const
{
- static const std::regex r(this->m_crt_regex_as_string, std::regex_constants::icase);
+ const std::regex r(this->m_crt_regex_as_string, std::regex_constants::icase);
return r;
}
- const std::string& BuildType::toString() const
+ const std::string BuildType::toString() const
{
- static const std::string s = Strings::format("[%s,%s]", to_string(this->m_config), to_string(this->m_linkage));
+ const std::string s = Strings::format("[%s,%s]", to_string(this->m_config), to_string(this->m_linkage));
return s;
}
@@ -151,9 +151,9 @@ namespace vcpkg
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
+ const std::regex OutdatedDynamicCrt::crt_regex() const
{
- static const std::regex r(this->m_crt_regex_as_string, std::regex_constants::icase);
+ const std::regex r(this->m_crt_regex_as_string, std::regex_constants::icase);
return r;
}