From 83b7f42d5f93e1657705584d3d626b8d8fde28ac Mon Sep 17 00:00:00 2001 From: alwin Date: Thu, 11 Mar 2004 22:52:07 +0000 Subject: *sigh* forgot to test before first checkin. sorry. --- 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 @@ -91,10 +91,10 @@ public: //! construction osmart_pointer(T* t) { if (ptr = t) ptr->Incr(); } //! Pointer copy - osmart_pointer(const smart_pointer& p) + osmart_pointer(const osmart_pointer& p) { if (ptr = p.ptr) ptr->Incr(); } //! pointer copy by assignment - osmart_pointer& operator= (const smart_pointer& p) + osmart_pointer& operator= (const osmart_pointer& p) { // already same: nothing to do if (ptr == p.ptr) return *this; -- cgit v0.9.0.2