diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-06 17:56:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-06 17:56:02 +0200 |
commit | 116e353d07f3f65e3d9e29e37efedc37f301e243 (patch) | |
tree | 88f2d4c2467d5ef26238d0f2b952636efdec8526 | |
parent | 6af17f423985527a4b849406aaef712474bb1d44 (diff) |
Add comment to the likely place of an error
-rw-r--r-- | odb/database.txx | 3 |
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); } |