[gnome-commander] Fixed name lookup in template in src/gnome-cmd-collection.h



commit a07d0a98c8e15f51ea4100700dd6d6e4c703bdb5
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Dec 21 23:42:31 2013 +0100

    Fixed name lookup in template in src/gnome-cmd-collection.h

 src/gnome-cmd-collection.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-collection.h b/src/gnome-cmd-collection.h
index 201c0a8..4f1f6af 100644
--- a/src/gnome-cmd-collection.h
+++ b/src/gnome-cmd-collection.h
@@ -35,9 +35,9 @@ namespace GnomeCmd
     template <typename T>
     struct Collection<T *>: std::set<T *>
     {
-        void add(T *t)            {  insert(t);                          }
-        void remove(T *t)         {  erase(t);                           }
-        bool contain(T *t) const  {  return find(t)!=Collection::end();  }
+        void add(T *t)            {  this->insert(t);                          }
+        void remove(T *t)         {  this->erase(t);                           }
+        bool contain(T *t) const  {  return this->find(t)!=Collection::end();  }
 
         GList *get_list();
     };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]