aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-12-04 14:01:11 -0800
committerGitHub <noreply@github.com>2020-12-04 14:01:11 -0800
commit8b0b2671ce67a2425c66c47fff8117737abbb055 (patch)
tree16d0b9aceeb3c1c0c89e6717d4660775086dee46 /toolsrc/include
parent60aa143e59687ed4b689d24d80a6f93ae123da86 (diff)
downloadvcpkg-8b0b2671ce67a2425c66c47fff8117737abbb055.tar.gz
vcpkg-8b0b2671ce67a2425c66c47fff8117737abbb055.zip
Fix failures when parsing the default options for binary caching not being emitted. (#14945)
* Fix failures when parsing the default options for binary caching not beging emitted. Resolves #14922.
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/base/parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/base/parse.h b/toolsrc/include/vcpkg/base/parse.h
index cc5db02d3..b3577e821 100644
--- a/toolsrc/include/vcpkg/base/parse.h
+++ b/toolsrc/include/vcpkg/base/parse.h
@@ -16,6 +16,7 @@ namespace vcpkg::Parse
{
virtual ~IParseError() = default;
virtual std::string format() const = 0;
+ virtual const std::string& get_message() const = 0;
};
struct ParseError : IParseError
@@ -38,6 +39,7 @@ namespace vcpkg::Parse
const std::string message;
virtual std::string format() const override;
+ virtual const std::string& get_message() const override;
};
struct ParserBase