mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Return Clara parsing error message by const-ref
This commit is contained in:
		@@ -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;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user