summaryrefslogtreecommitdiff
path: root/lib/xml_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xml_base.h')
-rw-r--r--lib/xml_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xml_base.h b/lib/xml_base.h
index 4614615e..dc534dc5 100644
--- a/lib/xml_base.h
+++ b/lib/xml_base.h
@@ -24,9 +24,9 @@ public:
FATAL
};
- FfsXmlError(const std::wstring& message, Severity sev = FATAL) : errorMessage(message), m_severity(sev) {}
+ explicit FfsXmlError(const std::wstring& message, Severity sev = FATAL) : errorMessage(message), m_severity(sev) {}
- const std::wstring& msg() const { return errorMessage; }
+ const std::wstring& toString() const { return errorMessage; }
Severity getSeverity() const { return m_severity; }
private:
const std::wstring errorMessage;
bgstack15