Fix pointless type mismatch between StringRef and std::string

This commit is contained in:
Martin Hořeňovský committed 2017-11-13 12:49:13 +01:00
1 parent 484eee973c
commit f80f28e09a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ namespace Catch {
return m_info.lineInfo;
}
std::string AssertionResult::getTestMacroName() const {
StringRef AssertionResult::getTestMacroName() const {
return m_info.macroName;
}
+1 -1
View File
@@ -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;