diff options
| author | Martin Hořeňovský | 2019-09-08 18:20:49 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-09-08 18:20:49 +0200 |
| commit | 293012a002ef5351adbfcc0cbf7cdfdc93aed115 (patch) | |
| tree | c178c44ce7b0dd94564ad3887c52b1e07ad7e328 /include/internal/catch_common.cpp | |
| parent | e2b3443fe7211f265c95f878d06d8fd4abf38f27 (diff) | |
| download | catch3-293012a002ef5351adbfcc0cbf7cdfdc93aed115.tar.gz | |
Inline SourceLineInfo::empty definition
Diffstat (limited to 'include/internal/catch_common.cpp')
| -rw-r--r-- | include/internal/catch_common.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/internal/catch_common.cpp b/include/internal/catch_common.cpp index b2fca4c4..790acbe5 100644 --- a/include/internal/catch_common.cpp +++ b/include/internal/catch_common.cpp @@ -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); } |