diff engine/core/model/structures/instance.cpp @ 210:be246fb3a0df

Remove mutable from m_deletelisteners Remove const from addDeleteListener Remove const from removeDeleteListener
author icelus@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 16 Mar 2009 01:23:03 +0000
parents 044d1fead5d2
children 852da06fc922
line wrap: on
line diff
--- a/engine/core/model/structures/instance.cpp	Sun Mar 15 22:20:20 2009 +0000
+++ b/engine/core/model/structures/instance.cpp	Mon Mar 16 01:23:03 2009 +0000
@@ -522,10 +522,10 @@
 		}
 		return TimeManager::instance()->getTime();
 	}
-        void Instance::addDeleteListener(InstanceDeleteListener *listener) const {
+        void Instance::addDeleteListener(InstanceDeleteListener *listener) {
                 m_deletelisteners.push_back(listener);
         }
-        void Instance::removeDeleteListener(InstanceDeleteListener *listener) const {
+        void Instance::removeDeleteListener(InstanceDeleteListener *listener) {
                 std::vector<InstanceDeleteListener*>::iterator itor;
                 itor = std::find(m_deletelisteners.begin(),
                                  m_deletelisteners.end(),