author | alwin <alwin> | 2004-03-11 22:52:07 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-11 22:52:07 (UTC) |
commit | 83b7f42d5f93e1657705584d3d626b8d8fde28ac (patch) (unidiff) | |
tree | 6510078c79ae4b5f1fb2fdcfb71ad5a1247c8ad0 | |
parent | 31fe5681a49cbcf291abf755ee5f2f2fb1e4a582 (diff) | |
download | opie-83b7f42d5f93e1657705584d3d626b8d8fde28ac.zip opie-83b7f42d5f93e1657705584d3d626b8d8fde28ac.tar.gz opie-83b7f42d5f93e1657705584d3d626b8d8fde28ac.tar.bz2 |
*sigh* forgot to test before first checkin. sorry.
-rw-r--r-- | libopie2/opiecore/osmart_pointer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opiecore/osmart_pointer.h b/libopie2/opiecore/osmart_pointer.h index a362a60..2a2518f 100644 --- a/libopie2/opiecore/osmart_pointer.h +++ b/libopie2/opiecore/osmart_pointer.h | |||
@@ -92,8 +92,8 @@ public: | |||
92 | osmart_pointer(T* t) { if (ptr = t) ptr->Incr(); } | 92 | osmart_pointer(T* t) { if (ptr = t) ptr->Incr(); } |
93 | //! Pointer copy | 93 | //! Pointer copy |
94 | osmart_pointer(const smart_pointer<T>& p) | 94 | osmart_pointer(const osmart_pointer<T>& p) |
95 | { if (ptr = p.ptr) ptr->Incr(); } | 95 | { if (ptr = p.ptr) ptr->Incr(); } |
96 | //! pointer copy by assignment | 96 | //! pointer copy by assignment |
97 | osmart_pointer<T>& operator= (const smart_pointer<T>& p) | 97 | osmart_pointer<T>& operator= (const osmart_pointer<T>& p) |
98 | { | 98 | { |
99 | // already same: nothing to do | 99 | // already same: nothing to do |