From dff0c9942a86dbf7a31f9e51e6f3dae34c514e99 Mon Sep 17 00:00:00 2001 From: rbock Date: Sat, 9 Apr 2016 21:46:31 +0200 Subject: [PATCH] A bit of cleanup --- include/sqlpp11/basic_expression_operators.h | 34 +++----------------- include/sqlpp11/pre_join.h | 1 + test_static_asserts/CMakeLists.txt | 1 + test_static_asserts/date.cpp | 6 ++-- test_static_asserts/date_time.cpp | 6 ++-- test_static_asserts/no_self_compare.cpp | 6 ++-- test_static_asserts/text.cpp | 6 ++-- 7 files changed, 18 insertions(+), 42 deletions(-) diff --git a/include/sqlpp11/basic_expression_operators.h b/include/sqlpp11/basic_expression_operators.h index 098c065e..fbf9a490 100644 --- a/include/sqlpp11/basic_expression_operators.h +++ b/include/sqlpp11/basic_expression_operators.h @@ -28,7 +28,7 @@ #define SQLPP_DETAIL_BASIC_EXPRESSION_OPERATORS_H #include -#include +#include #include #include #include @@ -69,7 +69,7 @@ namespace sqlpp template class Expr, typename Lhs, typename Rhs> struct new_binary_expression_impl { - using type = bad_statement; + using type = bad_expression; }; template