From ee4d942916d347ac65f53969941b0fb100760611 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Mar 2015 16:30:36 +0200 Subject: Get pointer_type from correct traits (object, view), part 2 --- odb/database.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'odb/database.hxx') diff --git a/odb/database.hxx b/odb/database.hxx index 1c44745..8ee5c55 100644 --- a/odb/database.hxx +++ b/odb/database.hxx @@ -277,7 +277,7 @@ namespace odb // Query one API. // template - typename object_traits::pointer_type + typename result::pointer_type query_one (); template @@ -289,7 +289,7 @@ namespace odb query_value (); template - typename object_traits::pointer_type + typename result::pointer_type query_one (const char*); template @@ -301,7 +301,7 @@ namespace odb query_value (const char*); template - typename object_traits::pointer_type + typename result::pointer_type query_one (const std::string&); template @@ -313,7 +313,7 @@ namespace odb query_value (const std::string&); template - typename object_traits::pointer_type + typename result::pointer_type query_one (const odb::query&); template @@ -594,7 +594,7 @@ namespace odb erase_object_ (I, I, bool); template - typename object_traits::pointer_type + typename result::pointer_type query_one_ (const Q&); template -- cgit v1.1