Index: src/main/include/log4cxx/helpers/objectptr.h
===================================================================
--- src/main/include/log4cxx/helpers/objectptr.h	(revision 620195)
+++ src/main/include/log4cxx/helpers/objectptr.h	(working copy)
@@ -147,18 +147,6 @@
               return *this;
             }
 
-        ObjectPtrT& operator=(const T* p1) {
-              if (p1 != 0) {
-                p1->addRef();
-              }
-              T** pp = &p;
-              void* oldPtr = ObjectPtrBase::exchange((void**) pp, const_cast<T*>(p1));
-              if (oldPtr != 0) {
-                 ((T*)oldPtr)->releaseRef();
-              }
-              return *this;
-            }
-
 		ObjectPtrT& operator=(ObjectPtrBase& p1) {
 			T* newPtr = reinterpret_cast<T*>(p1.cast(T::getStaticClass()));
 			return operator=(newPtr);
