]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Strange C++ nit for gcc 4.4
authorRoland McGrath <roland@redhat.com>
Tue, 16 Jun 2009 12:09:08 +0000 (05:09 -0700)
committerRoland McGrath <roland@redhat.com>
Tue, 16 Jun 2009 12:09:08 +0000 (05:09 -0700)
libdw/c++/dwarf_edit

index 83051e5d652efb95ba4671399007ddcb5f026382..85c3a4ff991253145e7e46f70953a508e3e53b2c 100644 (file)
@@ -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;
       }