From 116e353d07f3f65e3d9e29e37efedc37f301e243 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 6 Nov 2010 17:56:02 +0200 Subject: Add comment to the likely place of an error --- odb/database.txx | 3 +++ 1 file changed, 3 insertions(+) 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::find (*this, id); } -- cgit v1.1