fix accessing std::list functions from within PtrList
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 8 Sep 2015 16:03:49 +0000 (18:03 +0200)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 8 Sep 2015 16:03:49 +0000 (18:03 +0200)
utils/asyncio_ptr_list.hpp

index c26d631..453760d 100644 (file)
@@ -143,7 +143,7 @@ class PtrList
                 // nothing to do since item is already in the list
                 return;
             }
-            push_back(item);
+            this->push_back(item);
         } // eo add
 
 
@@ -181,7 +181,7 @@ class PtrList
                 return;
             }
             // remove the NULL elements now:
-            erase(
+            this->erase(
                 std::remove( inherited::begin(), inherited::end(), (T*)NULL),
                 inherited::end() );
             Dirty= false;