From 974dbaee5afec031c82827fc72f7efe34b7079be Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 16 Jun 2009 05:09:08 -0700 Subject: [PATCH] Strange C++ nit for gcc 4.4 --- libdw/c++/dwarf_edit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libdw/c++/dwarf_edit b/libdw/c++/dwarf_edit index 83051e5d6..85c3a4ff9 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; } -- 2.39.5