diff options
Diffstat (limited to 'project2/ice/iceDaemon.cpp')
-rw-r--r-- | project2/ice/iceDaemon.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/project2/ice/iceDaemon.cpp b/project2/ice/iceDaemon.cpp index d09f85e..cd752b8 100644 --- a/project2/ice/iceDaemon.cpp +++ b/project2/ice/iceDaemon.cpp @@ -7,7 +7,6 @@ #include <scriptLoader.h> #include <options.h> #include <sys/stat.h> -#include <boost/foreach.hpp> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <commonObjects.h> @@ -102,7 +101,7 @@ class IceDaemonViewHost : public virtual CommonObjects, public virtual CheckHost Logger()->messagebf(LOG_DEBUG, "%s: execute view", __PRETTY_FUNCTION__); view->execute(presenter.get(), ec); // Caches might open transactions - BOOST_FOREACH(const CommonObjects::DataSources::value_type & ds, CommonObjects::datasources) { + for (const CommonObjects::DataSources::value_type & ds : CommonObjects::datasources) { ds.second->commit(); } } |