summaryrefslogtreecommitdiffstats
path: root/src/common/util
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-04 18:49:56 +0000
committerDavid Robillard <d@drobilla.net>2006-07-04 18:49:56 +0000
commitc449044cd4c8178afca187bab823f580d517b813 (patch)
tree6f1e6c095dc981ff15f2a93d79b53ec985e2bb9a /src/common/util
parentfefd94019be32da03fcfd4b683860e3461e19000 (diff)
downloadingen-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')
-rw-r--r--src/common/util/CountedPtr.h2
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 != &copy) {
- assert(_counter != copy._counter);
+ assert(_counter == NULL || _counter != copy._counter);
release();
retain(copy._counter);
}