gah, we don't want to copy the count in the assignment operator
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon Nov 09 16:45:54 2009 +0100 (3 months ago)
changeset 55415cb9e32ed4bc
parent 5540 0883c01e3ed7
child 5542 c327a4f5fef7
child 5546 5718e4171536
gah, we don't want to copy the count in the assignment operator
src/core/object-ref-count.h
     1.1 --- a/src/core/object-ref-count.h	Mon Nov 09 16:02:05 2009 +0100
     1.2 +++ b/src/core/object-ref-count.h	Mon Nov 09 16:45:54 2009 +0100
     1.3 @@ -46,7 +46,6 @@
     1.4    {}
     1.5    ObjectRefCount & operator = (const ObjectRefCount &o)
     1.6    {
     1.7 -    *m_count = *o.m_count;
     1.8      return *this;
     1.9    }
    1.10    ~ObjectRefCount ()