From f294a876d4a54f1f0618c41168c8a6c302efa8f3 Mon Sep 17 00:00:00 2001 From: rbock Date: Mon, 17 Nov 2014 19:34:45 +0100 Subject: [PATCH] Placate clang-3.5 --- tests/ResultTest.cpp | 2 +- tests/SelectTypeTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ResultTest.cpp b/tests/ResultTest.cpp index 21ca2f82..db12cbcf 100644 --- a/tests/ResultTest.cpp +++ b/tests/ResultTest.cpp @@ -47,7 +47,7 @@ int main() { static_assert(sqlpp::can_be_null_t::value, "row.alpha can be null"); static_assert(sqlpp::null_is_trivial_value_t::value, "row.alpha interprets null_is_trivial"); - static_assert(std::is_member_function_pointer::value, "Yikes"); + static_assert(std::is_same::value, "Yikes"); using T = sqlpp::wrap_operand_t; static_assert(sqlpp::can_be_null_t::value, "row.alpha can be null"); static_assert(sqlpp::is_result_field_t::value, "result_fields are not wrapped"); diff --git a/tests/SelectTypeTest.cpp b/tests/SelectTypeTest.cpp index e9a8ee7d..bd0e9be8 100644 --- a/tests/SelectTypeTest.cpp +++ b/tests/SelectTypeTest.cpp @@ -359,7 +359,7 @@ int main() ((t.alpha + 7) + 4).asc(); static_assert(sqlpp::is_boolean_t::value, "Comparison expression have to be boolean"); !t.gamma; - t.beta < "kaesekuchen"; + serialize(t.beta < "kaesekuchen", printer).str(); serialize(t.beta + "hallenhalma", printer).str(); static_assert(sqlpp::must_not_insert_t::value, "alpha must not be inserted"); serialize(t.alpha, printer).str();