From: Gerd von Egidy Date: Tue, 8 Sep 2015 16:03:49 +0000 (+0200) Subject: fix accessing std::list functions from within PtrList X-Git-Tag: v0.3~7 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=05682361f1dc1d91de1d94dead2bce930edd9892;p=libasyncio fix accessing std::list functions from within PtrList --- diff --git a/utils/asyncio_ptr_list.hpp b/utils/asyncio_ptr_list.hpp index c26d631..453760d 100644 --- a/utils/asyncio_ptr_list.hpp +++ b/utils/asyncio_ptr_list.hpp @@ -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;