diff options
Diffstat (limited to 'odb/database.txx')
-rw-r--r-- | odb/database.txx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/database.txx b/odb/database.txx index 7440127..a120afa 100644 --- a/odb/database.txx +++ b/odb/database.txx @@ -94,21 +94,21 @@ namespace odb } template <typename T> - shared_ptr<result_impl<T> > database:: + result<T> database:: query () { return query (odb::query<T> ()); } template <typename T> - shared_ptr<result_impl<T> > database:: + result<T> database:: query (const std::string& q) { return query (odb::query<T> (q)); } template <typename T> - shared_ptr<result_impl<T> > database:: + result<T> database:: query (const odb::query<T>& q) { if (!transaction::has_current ()) |