aboutsummaryrefslogtreecommitdiff
path: root/odb/database.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/database.txx')
-rw-r--r--odb/database.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/database.txx b/odb/database.txx
index 5556982..df58f35 100644
--- a/odb/database.txx
+++ b/odb/database.txx
@@ -15,7 +15,7 @@ namespace odb
// T is always object_type. We also don't need to check for transaction
// here; object_traits::query () does this.
//
- result<T> r (query_<T, id_default>::call (*this, q));
+ result<T> r (query_<T, id_common>::call (*this, q));
if (cache)
r.cache ();