From d2854834e18443876c8f75e0a7f3b88d1d549fc4 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:15:39 +0200 Subject: 4.2 --- lib/xml_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/xml_base.h') 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; -- cgit