diff options
author | Dan Goodliffe <randomdan@akira.random.lan> | 2014-11-29 16:43:25 +0000 |
---|---|---|
committer | Dan Goodliffe <randomdan@akira.random.lan> | 2014-11-29 16:43:25 +0000 |
commit | b3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53 (patch) | |
tree | ab08dd53d339ef10d0c9395d08c496af159040a4 /project2/common/instanceStore.h | |
parent | Remove dependency on xml lib (functionality tested separately) (diff) | |
download | project2-b3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53.tar.bz2 project2-b3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53.tar.xz project2-b3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53.zip |
Remove the continue on error options for plugables and add proper handling into implementations where errors can be ignored
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> &); }; |