From 05682361f1dc1d91de1d94dead2bce930edd9892 Mon Sep 17 00:00:00 2001 From: Gerd von Egidy Date: Tue, 8 Sep 2015 18:03:49 +0200 Subject: [PATCH] fix accessing std::list functions from within PtrList --- utils/asyncio_ptr_list.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.1