Fix assert test, see #615

In C++23, string is no longer constructible from nullptr.
This commit is contained in:
Roland Bock
2025-02-12 06:46:07 +01:00
parent 561cc7e643
commit b4523e0ccd
+1 -1
View File
@@ -121,7 +121,7 @@ namespace
then_check<sqlpp::consistent_t>(t.gamma, "true");
then_check<sqlpp::consistent_t>(t.gamma, 42);
then_check<sqlpp::consistent_t>(t.gamma, 'c');
then_check<sqlpp::consistent_t>(t.gamma, nullptr);
then_check<sqlpp::consistent_t>(t.gamma, sqlpp::null);
// Try to use an assignment as "then"
then_check<sqlpp::assert_case_then_expression_t>(t.gamma, t.gamma = true);