gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog libbase/smart_ptr.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog libbase/smart_ptr.h
Date: Tue, 24 Oct 2006 09:06:42 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/24 09:06:42

Modified files:
        .              : ChangeLog 
        libbase        : smart_ptr.h 

Log message:
                * server/smart_ptr.h (weak_ptr): made conversion to smart_ptr
                  a const method.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1373&r2=1.1374
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/smart_ptr.h?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1373
retrieving revision 1.1374
diff -u -b -r1.1373 -r1.1374
--- ChangeLog   24 Oct 2006 07:32:00 -0000      1.1373
+++ ChangeLog   24 Oct 2006 09:06:42 -0000      1.1374
@@ -1,5 +1,7 @@
 2006-10-24 Sandro Santilli <address@hidden>
 
+       * server/smart_ptr.h (weak_ptr): made conversion to smart_ptr
+         a const method.
        * server/parser/movie_def_impl.cpp (create_instance): minor cleanups.
 
 2006-10-24 Markus Gothe <address@hidden>

Index: libbase/smart_ptr.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/smart_ptr.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- libbase/smart_ptr.h 23 Oct 2006 13:34:12 -0000      1.9
+++ libbase/smart_ptr.h 24 Oct 2006 09:06:42 -0000      1.10
@@ -9,7 +9,7 @@
 // although the nice thing about templates is that no particular
 // ref-counted class is mandated.
 
-/* $Id: smart_ptr.h,v 1.9 2006/10/23 13:34:12 strk Exp $ */
+/* $Id: smart_ptr.h,v 1.10 2006/10/24 09:06:42 strk Exp $ */
 
 #ifndef SMART_PTR_H
 #define SMART_PTR_H
@@ -194,7 +194,7 @@
        void    operator=(const smart_ptr<T>& ptr) { operator=(ptr.get_ptr()); }
 
        // Conversion to smart_ptr.
-       operator smart_ptr<T>()
+       operator smart_ptr<T>() const
        {
                check_proxy();
                return smart_ptr<T>(m_ptr);




reply via email to

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