Inline SourceLineInfo::empty definition

This commit is contained in:
Martin Hořeňovský
2019-09-08 18:20:49 +02:00
parent e2b3443fe7
commit 293012a002
5 changed files with 11 additions and 11 deletions

View File

@@ -15,9 +15,6 @@
namespace Catch {
bool SourceLineInfo::empty() const noexcept {
return file[0] == '\0';
}
bool SourceLineInfo::operator == ( SourceLineInfo const& other ) const noexcept {
return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0);
}