mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fix pointless type mismatch between StringRef and std::string
This commit is contained in:
		| @@ -91,7 +91,7 @@ namespace Catch { | ||||
|         return m_info.lineInfo; | ||||
|     } | ||||
|  | ||||
|     std::string AssertionResult::getTestMacroName() const { | ||||
|     StringRef AssertionResult::getTestMacroName() const { | ||||
|         return m_info.macroName; | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -47,7 +47,7 @@ namespace Catch { | ||||
|         std::string getExpandedExpression() const; | ||||
|         std::string getMessage() const; | ||||
|         SourceLineInfo getSourceInfo() const; | ||||
|         std::string getTestMacroName() const; | ||||
|         StringRef getTestMacroName() const; | ||||
|  | ||||
|     //protected: | ||||
|         AssertionInfo m_info; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský