aboutsummaryrefslogtreecommitdiff
path: root/odb/database.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/database.txx')
-rw-r--r--odb/database.txx6
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 ())