aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/BuildInfo.cpp
diff options
context:
space:
mode:
authorAlexander Kaspar <alexander.kaspar@gmail.com>2016-12-01 08:59:01 +0100
committerAlexander Kaspar <alexander.kaspar@gmail.com>2016-12-01 08:59:01 +0100
commit7f9353dd9541ca15ebefa66e531e4bac4ad7c871 (patch)
treed1775b00285b0583c71163b3d219f9c539536399 /toolsrc/src/BuildInfo.cpp
parent5a04753a4a99a6210990b25e8773b86ccbffec0b (diff)
parent223e7f970d30d3d97e64af3d1970d52cc0ddaaf5 (diff)
downloadvcpkg-7f9353dd9541ca15ebefa66e531e4bac4ad7c871.tar.gz
vcpkg-7f9353dd9541ca15ebefa66e531e4bac4ad7c871.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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/BuildInfo.cpp b/toolsrc/src/BuildInfo.cpp
index 44c7fdcf0..ddd44a1e6 100644
--- a/toolsrc/src/BuildInfo.cpp
+++ b/toolsrc/src/BuildInfo.cpp
@@ -2,7 +2,7 @@
#include "vcpkg_Checks.h"
#include "vcpkglib_helpers.h"
-namespace vcpkg
+namespace vcpkg { namespace PostBuildLint
{
const ConfigurationType& BuildType::config() const
{
@@ -127,7 +127,7 @@ namespace vcpkg
BuildInfo read_build_info(const fs::path& filepath)
{
const std::vector<std::unordered_map<std::string, std::string>> pghs = Paragraphs::get_paragraphs(filepath);
- Checks::check_throw(pghs.size() == 1, "Invalid BUILD_INFO file for package");
+ Checks::check_exit(pghs.size() == 1, "Invalid BUILD_INFO file for package");
return BuildInfo::create(pghs[0]);
}
@@ -161,4 +161,4 @@ namespace vcpkg
{
return this->m_dll_name;
}
-}
+}}