This commit is contained in:
Mathieu Lacage
2007-02-05 12:38:52 +01:00
parent a32774f7c9
commit d876bcc5ec

View File

@@ -79,14 +79,14 @@ public:
InsertSelfInOther (o);
return *this;
}
OBJ_PTR operator-> () {
OBJ_PTR operator-> () const {
return m_objPtr;
}
void Set (OBJ_PTR objPtr) {
RemoveFromList ();
m_objPtr = objPtr;
}
OBJ_PTR Get (void) {
OBJ_PTR Get (void) const {
// explicit conversion to raw pointer type.
return m_objPtr;
}