From c449044cd4c8178afca187bab823f580d517b813 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Jul 2006 18:49:56 +0000 Subject: Partial support for loading old patches git-svn-id: http://svn.drobilla.net/lad/ingen@84 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/util/CountedPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/util') diff --git a/src/common/util/CountedPtr.h b/src/common/util/CountedPtr.h index 6b9847eb..d6cc46bb 100644 --- a/src/common/util/CountedPtr.h +++ b/src/common/util/CountedPtr.h @@ -107,7 +107,7 @@ public: CountedPtr& operator=(const CountedPtr& copy) { if (this != ©) { - assert(_counter != copy._counter); + assert(_counter == NULL || _counter != copy._counter); release(); retain(copy._counter); } -- cgit v1.2.1