diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-19 14:52:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-19 14:52:09 +0200 |
commit | 5bd2f7b32439d5d24d4a750757ba6f9afdfae97e (patch) | |
tree | 848a7d3f82ab185fa057bd1b22be929f411f3d48 | |
parent | 24996a707c1fc745e2ae1cda0d031d9514ba60eb (diff) |
Minor changes
-rw-r--r-- | odb/processor.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/processor.cxx b/odb/processor.cxx index 4221081..87973b7 100644 --- a/odb/processor.cxx +++ b/odb/processor.cxx @@ -180,7 +180,7 @@ namespace // Accessor is a function with no arguments (other than 'this'). // - if (DECL_CHAIN (DECL_ARGUMENTS (f)) != NULL_TREE) + if (FUNCTION_FIRST_USER_PARM (f) != NULL_TREE) return found_none; // Note that to get the return type we have to use @@ -235,8 +235,7 @@ namespace member_access& ma, bool strict) { - tree a (DECL_ARGUMENTS (f)); - a = DECL_CHAIN (a); // Skip this. + tree a (FUNCTION_FIRST_USER_PARM (f)); // For a modifier, it can either be a function that returns a non- // const reference (or non-const pointer, in case the member is an |