Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-10-29 23:38:21 +0100
committerMartin Hořeňovský2019-10-31 16:19:56 +0100
commit2c6ace04a74458003506befea9291f5e60078bae (patch)
treebf57795f37075268e76d7a09ea45ab4c3a65ea08 /projects
parent7c48ea6016831f3e6afab0a902022dd59e417f82 (diff)
downloadcatch3-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')
-rw-r--r--projects/SelfTest/UsageTests/ToStringVariant.tests.cpp4
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; }
};