mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-25 05:38:45 -05:00
Fix assert test, see #615
In C++23, string is no longer constructible from nullptr.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user