diff options
| author | Martin Hořeňovský | 2019-10-29 23:38:21 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-10-31 16:19:56 +0100 |
| commit | 2c6ace04a74458003506befea9291f5e60078bae (patch) | |
| tree | bf57795f37075268e76d7a09ea45ab4c3a65ea08 /projects/SelfTest | |
| parent | 7c48ea6016831f3e6afab0a902022dd59e417f82 (diff) | |
| download | catch3-2c6ace04a74458003506befea9291f5e60078bae.tar.gz | |
Redo build matrix on .travis for C++14 and up
* Use Xenial as the base distribution
* Remove C++11 builds
* Add a lot more C++14 builds
* Add some C++17 builds
* Include newer versions of Clang and GCC
Diffstat (limited to 'projects/SelfTest')
| -rw-r--r-- | projects/SelfTest/UsageTests/ToStringVariant.tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp b/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp index 60b3f903..c6809c0f 100644 --- a/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp @@ -9,12 +9,12 @@ // We need 2 types with non-trivial copies/moves struct MyType1 { MyType1() = default; - MyType1(MyType1 const&) { throw 1; } + [[noreturn]] MyType1(MyType1 const&) { throw 1; } MyType1& operator=(MyType1 const&) { throw 3; } }; struct MyType2 { MyType2() = default; - MyType2(MyType2 const&) { throw 2; } + [[noreturn]] MyType2(MyType2 const&) { throw 2; } MyType2& operator=(MyType2 const&) { throw 4; } }; |