From 5bd2f7b32439d5d24d4a750757ba6f9afdfae97e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Oct 2013 14:52:09 +0200 Subject: Minor changes --- odb/processor.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'odb/processor.cxx') 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 -- cgit v1.1