CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/07/07 03:57:25
Modified files:
libbase : ref_counted.h
Log message:
Ops, forgot the copy ctor
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/ref_counted.h?cvsroot=gnash&r1=1.12&r2=1.13
Patches:
Index: ref_counted.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/ref_counted.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- ref_counted.h 7 Jul 2007 03:49:51 -0000 1.12
+++ ref_counted.h 7 Jul 2007 03:57:24 -0000 1.13
@@ -15,7 +15,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-/* $Id: ref_counted.h,v 1.12 2007/07/07 03:49:51 strk Exp $ */
+/* $Id: ref_counted.h,v 1.13 2007/07/07 03:57:24 strk Exp $ */
#ifndef GNASH_REF_COUNTED_H
#define GNASH_REF_COUNTED_H
@@ -67,6 +67,12 @@
{
}
+ ref_counted(const ref_counted&)
+ :
+ m_ref_count(0)
+ {
+ }
+
void add_ref() const
{
assert(m_ref_count >= 0);
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit