From: Mark Wielaard Date: Thu, 20 Jan 2011 15:23:48 +0000 (+0100) Subject: Turn copier::entry into a value_reference so what_space works on it. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80a55b4583c6eb34e7f4076a47e9614a95a28006;p=thirdparty%2Felfutils.git Turn copier::entry into a value_reference so what_space works on it. copier::entry is used as a value_reference when an attr_value has a dangling reference to a DIE not yet built in the output. So make sure its type matches that usage. --- diff --git a/libdw/c++/dwarf_output b/libdw/c++/dwarf_output index 831bf745a..b40e0081b 100644 --- a/libdw/c++/dwarf_output +++ b/libdw/c++/dwarf_output @@ -1511,7 +1511,7 @@ namespace elfutils built in the output has one of these in place of a value_reference. These all live in the _m_entries map, one per input-side DIE. */ struct entry - : public value::value_dispatch + : public value::value_reference { ::Dwarf_Off _m_offset; // For debugging and statistics only. ::Dwarf_Off _m_cost; // For statistics only.