diff options
author | David Robillard <d@drobilla.net> | 2006-07-04 18:49:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-04 18:49:56 +0000 |
commit | c449044cd4c8178afca187bab823f580d517b813 (patch) | |
tree | 6f1e6c095dc981ff15f2a93d79b53ec985e2bb9a /src/common/util/CountedPtr.h | |
parent | fefd94019be32da03fcfd4b683860e3461e19000 (diff) | |
download | ingen-c449044cd4c8178afca187bab823f580d517b813.tar.gz ingen-c449044cd4c8178afca187bab823f580d517b813.tar.bz2 ingen-c449044cd4c8178afca187bab823f580d517b813.zip |
Partial support for loading old patches
git-svn-id: http://svn.drobilla.net/lad/ingen@84 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common/util/CountedPtr.h')
-rw-r--r-- | src/common/util/CountedPtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |