Fix pointless type mismatch between StringRef and std::string

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

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;
}

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;