From a915f36b4607e07a82274381c19091057449c961 Mon Sep 17 00:00:00 2001 From: rbock Date: Fri, 1 May 2015 18:19:00 +0200 Subject: [PATCH] Minor fixes --- include/sqlpp11/schema.h | 2 +- tests/PreparedTest.cpp | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/sqlpp11/schema.h b/include/sqlpp11/schema.h index 2c35098a..f898283e 100644 --- a/include/sqlpp11/schema.h +++ b/include/sqlpp11/schema.h @@ -27,7 +27,7 @@ #ifndef SQLPP_SCHEMA_H #define SQLPP_SCHEMA_H -#include +#include #include namespace sqlpp diff --git a/tests/PreparedTest.cpp b/tests/PreparedTest.cpp index 5b3b89bb..4e391a53 100644 --- a/tests/PreparedTest.cpp +++ b/tests/PreparedTest.cpp @@ -29,9 +29,6 @@ #include #include -#include - - int main() { MockDb db = {}; @@ -115,7 +112,7 @@ int main() std::cerr << x.alpha << std::endl; } - // Check that a prepared select is default-constructible + // Check that a prepared select is default-constructable { auto s = select(all_of(t)).from(t).where((t.beta.like(parameter(t.beta)) and t.alpha == parameter(t.alpha)) or t.gamma != parameter(t.gamma)); using P = decltype(db.prepare(s));