mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Return Clara parsing error message by const-ref
This commit is contained in:
parent
905bf438ae
commit
6456ee8b01
@ -216,7 +216,7 @@ namespace Catch {
|
||||
return m_type == ResultType::Ok;
|
||||
}
|
||||
auto type() const -> ResultType { return m_type; }
|
||||
auto errorMessage() const -> std::string {
|
||||
auto errorMessage() const -> std::string const& {
|
||||
return m_errorMessage;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user