aboutsummaryrefslogtreecommitdiff
path: root/odb/include.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-16 09:20:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-16 09:20:40 +0200
commitbc6e269d1221f27d239044b376cc2c6e36dd1428 (patch)
treea8808c5e0e644112a7c9388ab9ae0cfbc62eb6c9 /odb/include.cxx
parentf88e9b93fd99b89e30ef702273f8272a2c8866ce (diff)
Diagnose forward use of composite object ids
Diffstat (limited to 'odb/include.cxx')
-rw-r--r--odb/include.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/include.cxx b/odb/include.cxx
index c397993..9c03f99 100644
--- a/odb/include.cxx
+++ b/odb/include.cxx
@@ -106,6 +106,8 @@ namespace
path f;
location_t l;
+ // Pretty much the same code as in context::class_location().
+ //
if (c.count ("definition"))
{
l = c.get<location_t> ("definition");