Upgrade CATCH header to v2

And update all uses of CHECK_THROWS_AS() to not use reference but the
expected exception type itself, as otherwise the code doesn't compile
any longer.
This commit is contained in:
Vadim Zeitlin
2022-12-25 23:27:51 +01:00
parent 33395699b4
commit 6d5fd5a79f
6 changed files with 15753 additions and 9330 deletions

View File

@@ -682,7 +682,7 @@ TEST_CASE("PostgreSQL JSON", "[postgresql][json]")
CHECK_THROWS_AS((
sql << "insert into soci_json_test (data) values(:data)",use(invalid_input)),
soci_error&
soci_error
);
}
else