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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/CompilationTests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-07-19 22:21:25 +0200
committerMartin Hořeňovský2017-07-19 22:21:47 +0200
commitd7f754dc4934efb898e6d70e66d19302cf9a5a4b (patch)
tree85d5f0cf954993e89b4bfa2dc22f71d044f4c8a4 /projects/SelfTest/CompilationTests.cpp
parenta14bd08b2766f7c32a7d8de06e51650da5fe5451 (diff)
downloadcatch3-d7f754dc4934efb898e6d70e66d19302cf9a5a4b.tar.gz
Fix SelfTest compilation after _THROWS_ assertion change
That is, changes made in efd79aa0bdeb7d02be2d9b3db01685c7f0467568
Diffstat (limited to 'projects/SelfTest/CompilationTests.cpp')
-rw-r--r--projects/SelfTest/CompilationTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/SelfTest/CompilationTests.cpp b/projects/SelfTest/CompilationTests.cpp
index 3298c79e..e6c31f65 100644
--- a/projects/SelfTest/CompilationTests.cpp
+++ b/projects/SelfTest/CompilationTests.cpp
@@ -41,7 +41,7 @@ bool templated_tests(T t) {
REQUIRE(a == t);
CHECK(a == t);
REQUIRE_THROWS(throws_int(true));
- CHECK_THROWS_AS(throws_int(true), const int&);
+ CHECK_THROWS_AS(throws_int(true), int);
REQUIRE_NOTHROW(throws_int(false));
REQUIRE_THAT("aaa", Catch::EndsWith("aaa"));
return true;