aboutsummaryrefslogtreecommitdiff
path: root/odb/processor.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-10-27 10:34:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-10-27 10:34:31 +0200
commit65485663ce42b92f3f4f1ea62910fd91d8ec7b29 (patch)
treecb85b8a2323b9e868f4089450936368c33cc6dba /odb/processor.cxx
parentef27013bab8ce027cce1c3efe4acafb8aef9d2e3 (diff)
Use expansion point rather than macro location in GCC 4.7.0 and later
Diffstat (limited to 'odb/processor.cxx')
-rw-r--r--odb/processor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/processor.cxx b/odb/processor.cxx
index cdfd883..291dcd3 100644
--- a/odb/processor.cxx
+++ b/odb/processor.cxx
@@ -444,7 +444,7 @@ namespace
// Update the location of the access expression to point
// to this function.
//
- ma.loc = location (DECL_SOURCE_LOCATION (f));
+ ma.loc = location (real_source_location (f));
found = r;
}
}