aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/model.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/model.hxx')
-rw-r--r--odb/relational/model.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/model.hxx b/odb/relational/model.hxx
index bb83e02..9b53104 100644
--- a/odb/relational/model.hxx
+++ b/odb/relational/model.hxx
@@ -618,7 +618,7 @@ namespace relational
{
in = &model_.new_node<sema_rel::index> (
id + ".id", sin->type, sin->method, sin->options);
- in->set ("cxx-location", sin->loc);
+ in->set ("cxx-location", location (sin->loc));
}
else
{
@@ -675,7 +675,7 @@ namespace relational
{
in = &model_.new_node<sema_rel::index> (
id + ".index", sin->type, sin->method, sin->options);
- in->set ("cxx-location", sin->loc);
+ in->set ("cxx-location", location (sin->loc));
}
else
{