aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-10-19 14:52:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-10-19 14:52:09 +0200
commit5bd2f7b32439d5d24d4a750757ba6f9afdfae97e (patch)
tree848a7d3f82ab185fa057bd1b22be929f411f3d48
parent24996a707c1fc745e2ae1cda0d031d9514ba60eb (diff)
Minor changes
-rw-r--r--odb/processor.cxx5
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