gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r10088: convering as_values toElement


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r10088: convering as_values toElements is a boost::shared_ptr now, not auto_ptr.
Date: Tue, 31 Mar 2009 20:54:18 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10088
committer: address@hidden
branch nick: rtmp
timestamp: Tue 2009-03-31 20:54:18 -0600
message:
  convering as_values toElements is a boost::shared_ptr now, not auto_ptr.
modified:
  testsuite/libcore.all/AsValueTest.cpp
=== modified file 'testsuite/libcore.all/AsValueTest.cpp'
--- a/testsuite/libcore.all/AsValueTest.cpp     2009-02-25 22:33:03 +0000
+++ b/testsuite/libcore.all/AsValueTest.cpp     2009-04-01 02:54:18 +0000
@@ -298,7 +298,7 @@
         }
     }
 
-    std::auto_ptr<Element> el1 = as1.to_element();
+    boost::shared_ptr<Element> el1 = as1.to_element();
     boost::shared_ptr<amf::Element> fooel = el1->getProperty(0);
     boost::shared_ptr<amf::Element> barel = el1->getProperty(1);
     if ((el1.get()->getType() == Element::OBJECT_AMF0)


reply via email to

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