gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/cygnal/ACT .cvsignore Handle.hpp


From: Eric Hughes
Subject: [Gnash-commit] gnash/cygnal/ACT .cvsignore Handle.hpp
Date: Wed, 18 Jul 2007 21:13:26 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Eric Hughes <eh9>       07/07/18 21:13:26

Modified files:
        cygnal/ACT     : .cvsignore Handle.hpp 

Log message:
        * Reverted an addition private typedefs for Vector_with_Handle_Index.  
Since it inherits from std::vector, the added typedefs are were also inherited, 
but as private, not public.  This was interfering with use of such typedefs, 
which were inaccessible because private.
        * Added a namespace qualifier to default template parameter for null 
aspect.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/.cvsignore?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Handle.hpp?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: .cvsignore
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- .cvsignore  17 Jul 2007 19:19:00 -0000      1.1
+++ .cvsignore  18 Jul 2007 21:13:26 -0000      1.2
@@ -1,3 +1,4 @@
+.svn
 .deps
 .libs
 Makefile

Index: Handle.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Handle.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Handle.hpp  18 Jul 2007 14:14:12 -0000      1.2
+++ Handle.hpp  18 Jul 2007 21:13:26 -0000      1.3
@@ -82,11 +82,6 @@
        {
                typedef std::vector< T > Base ;         /// Our base class, 
defined for legibility.
 
-               // These might not be needed using private inheritance, but 
didn't try
-               typedef typename Base::reference reference ;
-               typedef typename Base::const_reference const_reference ;
-               typedef typename Base::size_type size_type ;
-
                inline reference operator[]( size_type n ) { throw 
std::exception() ; }                         /// Prohibit offset operation with 
unwrapped index
                inline const_reference operator[]( size_type n ) const { throw 
std::exception() ; }     /// Prohibit offset operation with unwrapped index
                inline reference at( size_type n ) { throw std::exception() ; } 
                                        /// Prohibit offset operation with 
unwrapped index
@@ -119,7 +114,7 @@
         *      Each instance of a class with a handle (that is, deriving from 
\c Handled) appears within this registry.
         *      In other words, this registry provides a mechanism for 
operationalizing the referent of a handle.
         */
-       template< class T, template< class, class > class Aspect = 
Null_Aspect_1 >
+       template< class T, template< class, class > class Aspect = 
aspect::Null_Aspect_1 >
        class Handle_Registry_Leader
        {
                /// The aspect type as actually used.




reply via email to

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