summaryrefslogtreecommitdiff
path: root/project2/common/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/options.cpp')
-rw-r--r--project2/common/options.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/project2/common/options.cpp b/project2/common/options.cpp
index 3000069..c1ed762 100644
--- a/project2/common/options.cpp
+++ b/project2/common/options.cpp
@@ -1,6 +1,5 @@
#include <pch.hpp>
#include "options.h"
-#include <boost/foreach.hpp>
#include "instanceStore.impl.h"
class NamedOption : public Options::Option {
@@ -102,7 +101,7 @@ Options::operator()(OptionPtr o)
void
Options::reset() const
{
- BOOST_FOREACH(const OptionPtr & o, options) {
+ for (const OptionPtr & o : options) {
o->reset();
}
}
@@ -110,7 +109,7 @@ Options::reset() const
void
Options::consume(const Glib::ustring & n, const Glib::ustring & p, const VariableType & v, const Options::CurrentPlatform & cp) const
{
- BOOST_FOREACH(const OptionPtr & o, options) {
+ for (const OptionPtr & o : options) {
o->consume(n, p, v, cp);
}
}
@@ -123,7 +122,7 @@ Options::allOptions() const
const Options::Option *
Options::find(const Glib::ustring & n) const {
- BOOST_FOREACH(const OptionPtr & o, options) {
+ for (const OptionPtr & o : options) {
if (o->accepts(n)) {
return o.get();
}