Use access function instad of %module-public-interface
[clinton/bobotpp.git] / source / ChannelUserList.H
index 4a96417..c86ac16 100644 (file)
@@ -71,7 +71,7 @@ public:
   unsigned int operator_count () const throw ();
 
   template<typename T>
-  void foreach (const T & fun)
+  void foreach (T & fun)
   {
     BotLock foreach_lock (users_mutex);
     std::for_each (users.begin (), users.end (), fun);