summaryrefslogtreecommitdiffstats
path: root/cpp/sca/test/store-object/cart.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/sca/test/store-object/cart.hpp')
-rw-r--r--cpp/sca/test/store-object/cart.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/sca/test/store-object/cart.hpp b/cpp/sca/test/store-object/cart.hpp
index fc6155aa25..f35a5c4527 100644
--- a/cpp/sca/test/store-object/cart.hpp
+++ b/cpp/sca/test/store-object/cart.hpp
@@ -66,8 +66,7 @@ public:
}
virtual const double getTotal() const {
- tuscany::lambda<double(double, Item)> a(accum);
- return reduce(a, 0.0, cart);
+ return tuscany::reduce<Item, double>(accum, 0.0, cart);
}
};