diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-08-16 12:23:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-08-16 12:23:25 +0200 |
commit | b9ae91e23fc4eaeaf411fabb5b71cd023889d4e7 (patch) | |
tree | 4ad5b5a1c8f98e6240316f5a976324334a738ad1 /odb/relational/inline.hxx | |
parent | eacf52a9a4f3832274fdefc909ab23c13413e128 (diff) |
Add support for automatically discovering accessor/modifier functions
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace.
Diffstat (limited to 'odb/relational/inline.hxx')
-rw-r--r-- | odb/relational/inline.hxx | 2 |
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") << ";"; |