summaryrefslogtreecommitdiffstats
path: root/tests/print-die.cc
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2010-11-25 13:34:46 +0100
committerMark Wielaard <[email protected]>2010-11-25 13:37:50 +0100
commit5cc7a097676055853e162689df3770007e3867b7 (patch)
tree9c36f8f6b86a8351c463ddee25668d342fa4b54a /tests/print-die.cc
parentaa9a78ff545513553e20965b819af67f08a56239 (diff)
Rename class [raw_]compile_units to [raw_]compile_units_type.
We have both functions and classes named compile_units. This can be confusing to (newer) g++ compilers. Keep the function names the same, but rename the the classes to compile_units_type.
Diffstat (limited to 'tests/print-die.cc')
-rw-r--r--tests/print-die.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/print-die.cc b/tests/print-die.cc
index 4007a092..8a7f770c 100644
--- a/tests/print-die.cc
+++ b/tests/print-die.cc
@@ -315,7 +315,7 @@ print_file (const file &dw, const unsigned int limit)
static refs_map common_refs;
refs_map file_refs;
- for (typename file::compile_units::const_iterator i
+ for (typename file::compile_units_type::const_iterator i
= dw.compile_units ().begin (); i != dw.compile_units ().end (); ++i)
if (refs_shared_cu)
print_cu<file> (*i, limit, refs_shared_file ? common_refs : file_refs);