aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolsrc/include/BuildInfo.h2
-rw-r--r--toolsrc/src/BuildInfo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/BuildInfo.h b/toolsrc/include/BuildInfo.h
index 9f872385e..49811d521 100644
--- a/toolsrc/include/BuildInfo.h
+++ b/toolsrc/include/BuildInfo.h
@@ -104,7 +104,7 @@ namespace vcpkg { namespace PostBuildLint
OutdatedDynamicCrt() = delete;
- const std::regex crt_regex() const;
+ std::regex crt_regex() const;
const std::string& toString() const;
private:
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;