diff options
Diffstat (limited to 'project2/common/instanceStore.h')
-rw-r--r-- | project2/common/instanceStore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/common/instanceStore.h b/project2/common/instanceStore.h index 5557b43..9a669ef 100644 --- a/project2/common/instanceStore.h +++ b/project2/common/instanceStore.h @@ -37,7 +37,7 @@ class InstanceMap : public InstanceStore<Type, std::map<KeyType, boost::shared_p return safeMapLookup<E>(InstanceStore<Type, Store>::GetAll(), n); } - static void OnEach(const boost::function<void(const Value &)> & func, bool ContinueOnError = false); + static void OnEach(const boost::function<void(const Value &)> & func); }; /// Anonymous collection of instances @@ -45,7 +45,7 @@ template <class Type> class InstanceSet : public InstanceStore<Type, std::set<boost::shared_ptr<Type>>> { public: typedef InstanceStore<Type, std::set<boost::shared_ptr<Type>>> IStore; - static void OnAll(const boost::function<void(Type *)> & func, bool ContinueOnError = false); + static void OnAll(const boost::function<void(Type *)> & func); static void Remove(const boost::shared_ptr<Type> &); }; |