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 a120afa..bec3234 100644
--- a/odb/database.txx
+++ b/odb/database.txx
@@ -32,7 +32,7 @@ namespace odb
typename traits::pointer_type r (find<T> (id));
- if (traits::pointer_ops::null_ptr (r))
+ if (traits::pointer_traits::null_ptr (r))
throw object_not_persistent ();
return r;