aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
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