gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r12310: Avoid forming a reference to


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12310: Avoid forming a reference to a reference to fix compile in older versions
Date: Mon, 19 Jul 2010 08:06:54 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12310
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Mon 2010-07-19 08:06:54 +0200
message:
  Avoid forming a reference to a reference to fix compile in older versions
  of GCC or boost.
modified:
  libcore/PropertyList.h
=== modified file 'libcore/PropertyList.h'
--- a/libcore/PropertyList.h    2010-07-09 13:25:36 +0000
+++ b/libcore/PropertyList.h    2010-07-19 06:06:54 +0000
@@ -68,11 +68,11 @@
 
     struct NameExtractor
     {
-        typedef const ObjectURI& result_type;
-        const result_type operator()(const value_type& r) const {
+        typedef ObjectURI result_type;
+        const result_type& operator()(const value_type& r) const {
             return r.first.uri();
         }
-        const result_type operator()(value_type& r) {
+        const result_type& operator()(value_type& r) {
             return r.first.uri();
         }
     };


reply via email to

[Prev in Thread] Current Thread [Next in Thread]