mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-05 20:50:34 -06:00
Moved static asserts for inconsistency errors much closer to call site
This commit is contained in:
@@ -127,7 +127,7 @@ namespace sqlpp
|
||||
template<typename Policies>
|
||||
struct _methods_t
|
||||
{
|
||||
static void _check_consistency() {}
|
||||
using _consistency_check = consistent_t;
|
||||
};
|
||||
|
||||
};
|
||||
@@ -171,7 +171,7 @@ namespace sqlpp
|
||||
template<typename T>
|
||||
using _new_statement_t = new_statement<Policies, no_select_flag_list_t, T>;
|
||||
|
||||
static void _check_consistency() {}
|
||||
using _consistency_check = consistent_t;
|
||||
|
||||
template<typename... Args>
|
||||
auto flags(Args... args) const
|
||||
|
||||
Reference in New Issue
Block a user