mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Fixed weird compiler crash with gcc-4.8.2
I have no idea why this is helping, but it does. I need to invest some time to simplify the templates so that compilers aren't as stressed with it.
This commit is contained in:
parent
80bc0fcf5e
commit
9e1ecaf15a
@ -189,12 +189,17 @@ namespace sqlpp
|
|||||||
using _consistency_check = detail::get_first_if<is_inconsistent_t, consistent_t,
|
using _consistency_check = detail::get_first_if<is_inconsistent_t, consistent_t,
|
||||||
typename Policies::template _base_t<_policies_t>::_consistency_check...,
|
typename Policies::template _base_t<_policies_t>::_consistency_check...,
|
||||||
typename _policies_t::_table_check>;
|
typename _policies_t::_table_check>;
|
||||||
using _prepare_check = detail::get_first_if<is_inconsistent_t, consistent_t,
|
|
||||||
typename _policies_t::_cte_check,
|
|
||||||
_consistency_check>;
|
|
||||||
using _run_check = detail::get_first_if<is_inconsistent_t, consistent_t,
|
using _run_check = detail::get_first_if<is_inconsistent_t, consistent_t,
|
||||||
typename _policies_t::_parameter_check,
|
typename _policies_t::_parameter_check,
|
||||||
_prepare_check>;
|
typename _policies_t::_cte_check,
|
||||||
|
typename Policies::template _base_t<_policies_t>::_consistency_check...,
|
||||||
|
typename _policies_t::_table_check>;
|
||||||
|
|
||||||
|
using _prepare_check = detail::get_first_if<is_inconsistent_t, consistent_t,
|
||||||
|
typename _policies_t::_cte_check,
|
||||||
|
typename Policies::template _base_t<_policies_t>::_consistency_check...,
|
||||||
|
typename _policies_t::_table_check>;
|
||||||
|
|
||||||
using _result_type_provider = typename _policies_t::_result_type_provider;
|
using _result_type_provider = typename _policies_t::_result_type_provider;
|
||||||
template<typename Composite>
|
template<typename Composite>
|
||||||
|
@ -6,18 +6,18 @@ macro (build_and_run arg)
|
|||||||
add_test("${arg}" "${arg}")
|
add_test("${arg}" "${arg}")
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
#build_and_run(BooleanExpressionTest)
|
build_and_run(BooleanExpressionTest)
|
||||||
#build_and_run(CustomQueryTest)
|
build_and_run(CustomQueryTest)
|
||||||
#build_and_run(InterpretTest)
|
build_and_run(InterpretTest)
|
||||||
#build_and_run(InsertTest)
|
build_and_run(InsertTest)
|
||||||
#build_and_run(RemoveTest)
|
build_and_run(RemoveTest)
|
||||||
#build_and_run(UpdateTest)
|
build_and_run(UpdateTest)
|
||||||
#build_and_run(SelectTest)
|
build_and_run(SelectTest)
|
||||||
#build_and_run(SelectTypeTest)
|
build_and_run(SelectTypeTest)
|
||||||
#build_and_run(FunctionTest)
|
build_and_run(FunctionTest)
|
||||||
#build_and_run(PreparedTest)
|
build_and_run(PreparedTest)
|
||||||
#build_and_run(Minimalistic)
|
build_and_run(Minimalistic)
|
||||||
#build_and_run(ResultTest)
|
build_and_run(ResultTest)
|
||||||
build_and_run(UnionTest)
|
build_and_run(UnionTest)
|
||||||
build_and_run(WithTest)
|
build_and_run(WithTest)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user