]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Turn copier::entry into a value_reference so what_space works on it.
authorMark Wielaard <mjw@redhat.com>
Thu, 20 Jan 2011 15:23:48 +0000 (16:23 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 16 Mar 2011 14:05:27 +0000 (15:05 +0100)
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.

libdw/c++/dwarf_output

index d985253593ba7d1ef00aca260e049b44ab7b068b..970d991a98d23687aaef0148b8aa83f307590372 100644 (file)
@@ -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.