diff options
author | Roland McGrath <[email protected]> | 2009-06-16 05:09:08 -0700 |
---|---|---|
committer | Roland McGrath <[email protected]> | 2009-06-16 05:09:08 -0700 |
commit | 974dbaee5afec031c82827fc72f7efe34b7079be (patch) | |
tree | 96b22c94767bb379386404a8fae5fe5bbcae12f3 | |
parent | 6b643a56310568208c2fbf0635df7b30a246b567 (diff) |
Strange C++ nit for gcc 4.4
-rw-r--r-- | libdw/c++/dwarf_edit | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libdw/c++/dwarf_edit b/libdw/c++/dwarf_edit index 83051e5d..85c3a4ff 100644 --- a/libdw/c++/dwarf_edit +++ b/libdw/c++/dwarf_edit @@ -631,7 +631,10 @@ namespace elfutils (*this)[(*i).first] = mapped_type (x.begin (), x.end ()); } else - (*this)[key_type (0, -1)] = other.location (); + { + mapped_type v = other.location (); + (*this)[key_type (0, -1)] = v; + } return *this; } |