aboutsummaryrefslogtreecommitdiff
path: root/odb/database.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/database.txx')
-rw-r--r--odb/database.txx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/database.txx b/odb/database.txx
index a94f471..31e9153 100644
--- a/odb/database.txx
+++ b/odb/database.txx
@@ -62,6 +62,9 @@ namespace odb
if (!transaction::has_current ())
throw not_in_transaction ();
+ // Compiler error pointing here? Perhaps the object doesn't have the
+ // default constructor?
+ //
return object_traits<T>::find (*this, id);
}