Skip to content
Snippets Groups Projects
Unverified Commit 6456ee8b authored by Martin Hořeňovský's avatar Martin Hořeňovský
Browse files

Return Clara parsing error message by const-ref

parent 905bf438
No related branches found
No related tags found
No related merge requests found
...@@ -216,7 +216,7 @@ namespace Catch { ...@@ -216,7 +216,7 @@ namespace Catch {
return m_type == ResultType::Ok; return m_type == ResultType::Ok;
} }
auto type() const -> ResultType { return m_type; } auto type() const -> ResultType { return m_type; }
auto errorMessage() const -> std::string { auto errorMessage() const -> std::string const& {
return m_errorMessage; return m_errorMessage;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment