From b9ae91e23fc4eaeaf411fabb5b71cd023889d4e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Aug 2012 12:23:25 +0200 Subject: Add support for automatically discovering accessor/modifier functions New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. --- odb/relational/inline.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/relational/inline.hxx') 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 ("get")); - if (ma.loc != 0) + if (!ma.synthesized) os << "// From " << location_string (ma.loc, true) << endl; os << "return " << ma.translate ("o") << ";"; -- cgit v1.1