From a629988abef456278b2ecf6ac998b6f03681fc78 Mon Sep 17 00:00:00 2001 From: Roland Bock Date: Thu, 5 Sep 2013 23:57:37 +0200 Subject: [PATCH] Minor code cleanup --- include/sqlpp11/functions.h | 4 ++-- include/sqlpp11/result.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sqlpp11/functions.h b/include/sqlpp11/functions.h index c38001b5..34878a78 100644 --- a/include/sqlpp11/functions.h +++ b/include/sqlpp11/functions.h @@ -84,7 +84,7 @@ namespace sqlpp template auto value(T&& t) -> typename operand_t::type { - static_assert(not is_value_t::type>::value, "value() is to be called with non-sqlpp-type like int, or string"); + static_assert(not is_value_t::type>::value, "value() is to be called with non-sql-type like int, or string"); return { std::forward(t) }; } @@ -152,7 +152,7 @@ namespace sqlpp template auto value_list(Container&& c) -> value_list_t::type> { - static_assert(not is_value_t::type::value_type>::value, "value_list() is to be called with a container of non-sqlpp-type like std::vector, or std::list(string)"); + static_assert(not is_value_t::type::value_type>::value, "value_list() is to be called with a container of non-sql-type like std::vector, or std::list(string)"); return { std::forward(c) }; } diff --git a/include/sqlpp11/result.h b/include/sqlpp11/result.h index 01a78ea1..e0e4a6ca 100644 --- a/include/sqlpp11/result.h +++ b/include/sqlpp11/result.h @@ -36,7 +36,7 @@ namespace sqlpp template class result_t { - using db_result_t = typename Db::_result; + using db_result_t = typename Db::_result_t; db_result_t _result; raw_result_row_t _raw_result_row;