aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/inline.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/inline.hxx')
-rw-r--r--odb/relational/inline.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/inline.hxx b/odb/relational/inline.hxx
index 2642809..ff97874 100644
--- a/odb/relational/inline.hxx
+++ b/odb/relational/inline.hxx
@@ -275,7 +275,7 @@ namespace relational
//
member_access& ma (id->get<member_access> ("get"));
- if (ma.loc != 0)
+ if (!ma.synthesized)
os << "// From " << location_string (ma.loc, true) << endl;
os << "return " << ma.translate ("o") << ";";