mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Fix pointless type mismatch between StringRef and std::string
This commit is contained in:
parent
484eee973c
commit
f80f28e09a
@ -91,7 +91,7 @@ namespace Catch {
|
|||||||
return m_info.lineInfo;
|
return m_info.lineInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string AssertionResult::getTestMacroName() const {
|
StringRef AssertionResult::getTestMacroName() const {
|
||||||
return m_info.macroName;
|
return m_info.macroName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ namespace Catch {
|
|||||||
std::string getExpandedExpression() const;
|
std::string getExpandedExpression() const;
|
||||||
std::string getMessage() const;
|
std::string getMessage() const;
|
||||||
SourceLineInfo getSourceInfo() const;
|
SourceLineInfo getSourceInfo() const;
|
||||||
std::string getTestMacroName() const;
|
StringRef getTestMacroName() const;
|
||||||
|
|
||||||
//protected:
|
//protected:
|
||||||
AssertionInfo m_info;
|
AssertionInfo m_info;
|
||||||
|
Loading…
Reference in New Issue
Block a user