[Top][All Lists]
[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: |
Wed, 08 Nov 2006 10:08:42 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/11/08 10:08:42
Modified files:
. : ChangeLog
libbase : smart_ptr.h
Log message:
* libbase/smart_ptr.h: *fixed* invariant testing (well, at
least we know that it works fine)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1559&r2=1.1560
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/smart_ptr.h?cvsroot=gnash&r1=1.13&r2=1.14
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1559
retrieving revision 1.1560
diff -u -b -r1.1559 -r1.1560
--- ChangeLog 8 Nov 2006 10:03:56 -0000 1.1559
+++ ChangeLog 8 Nov 2006 10:08:41 -0000 1.1560
@@ -1,3 +1,8 @@
+2006-11-08 Sandro Santilli <address@hidden>
+
+ * libbase/smart_ptr.h: *fixed* invariant testing (well, at
+ least we know that it works fine)
+
2006-11-08 Vitaly Alexeev <address@hidden>
* backend\render_handler_ogl.cpp: The elementary yuv-video opengl
Index: libbase/smart_ptr.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/smart_ptr.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- libbase/smart_ptr.h 8 Nov 2006 09:37:56 -0000 1.13
+++ libbase/smart_ptr.h 8 Nov 2006 10:08:42 -0000 1.14
@@ -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.13 2006/11/08 09:37:56 strk Exp $ */
+/* $Id: smart_ptr.h,v 1.14 2006/11/08 10:08:42 strk Exp $ */
#ifndef SMART_PTR_H
#define SMART_PTR_H
@@ -152,7 +152,7 @@
// If we have a pointer, check that it's refcount
// is greater then 0, as if it is not that means
// that someone deleted it
- assert( m_ptr != NULL || m_ptr->get_ref_count() > 0 );
+ assert( m_ptr == NULL || m_ptr->get_ref_count() > 0 );
}
private: