From a28444da4ca6adb016f719e032174ccb54e1692e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Sep 2011 13:00:33 +0200 Subject: Rework const object handling Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. --- odb/database.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'odb/database.hxx') diff --git a/odb/database.hxx b/odb/database.hxx index f24e0fa..7e29ddf 100644 --- a/odb/database.hxx +++ b/odb/database.hxx @@ -19,7 +19,6 @@ #include #include -#include namespace odb { @@ -142,7 +141,7 @@ namespace odb template unsigned long long - erase_query (const odb::query::object_type>&); + erase_query (const odb::query&); // Query API. // @@ -160,8 +159,7 @@ namespace odb template result - query (const odb::query::result>&, - bool cache = true); + query (const odb::query&, bool cache = true); // Native database statement execution. // -- cgit v1.1