summaryrefslogtreecommitdiff
path: root/project2/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/cache.cpp')
-rw-r--r--project2/cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/cache.cpp b/project2/cache.cpp
index 32dc3c5..1dc435f 100644
--- a/project2/cache.cpp
+++ b/project2/cache.cpp
@@ -31,11 +31,11 @@ void
Cache::applyKeys(const boost::function2<void, const std::string &, const VariableType &> & f, const IHaveParameters * ps) const
{
BOOST_FOREACH(const IHaveParameters::Parameters::value_type & p, allParameters()) {
- f(p.first, p.second->value());
+ f(p.first, p.second);
}
if (inherit) {
BOOST_FOREACH(const IHaveParameters::Parameters::value_type & p, ps->allParameters()) {
- f(p.first, p.second->value());
+ f(p.first, p.second);
}
}
}