gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10703: Tidy up a bit and remove Gna


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10703: Tidy up a bit and remove GnashAlgorithm.h from libmedia's Makefile.am.
Date: Sat, 14 Mar 2009 10:22:52 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10703
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Sat 2009-03-14 10:22:52 +0100
message:
  Tidy up a bit and remove GnashAlgorithm.h from libmedia's Makefile.am.
modified:
  libbase/GnashAlgorithm.h
  libmedia/Makefile.am
=== modified file 'libbase/GnashAlgorithm.h'
--- a/libbase/GnashAlgorithm.h  2009-03-13 23:51:53 +0000
+++ b/libbase/GnashAlgorithm.h  2009-03-14 09:22:52 +0000
@@ -74,8 +74,7 @@
 struct CheckedDeleter<T**>
 {
     void operator()(T** p) const {
-        CheckedDeleter<T*> del;
-        dp(*p);
+        CheckedDeleter<T*>()(*p);
     }
 };
 
@@ -83,9 +82,7 @@
 struct CheckedDeleter<T*>
 {
     void operator()(T* p) const {
-        typename boost::template checked_deleter<
-            typename RemovePointer<T>::value_type> del;
-        del(p);
+        boost::checked_delete<typename RemovePointer<T>::value_type>(p);
     }
 };
 

=== modified file 'libmedia/Makefile.am'
--- a/libmedia/Makefile.am      2009-03-14 04:23:36 +0000
+++ b/libmedia/Makefile.am      2009-03-14 09:22:52 +0000
@@ -82,7 +82,6 @@
        AudioDecoderSimple.h \
        SoundInfo.h \
        AudioResampler.h \
-    GnashAlgorithm.h \
        $(NULL)
 
 


reply via email to

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