summaryrefslogtreecommitdiffstats
path: root/cpp/sca/test/store-function/catalog.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpp/sca/test/store-function/catalog.hpp (renamed from cpp/sca/samples/store2/catalog.hpp)4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/sca/samples/store2/catalog.hpp b/cpp/sca/test/store-function/catalog.hpp
index 82a2a458a9..82a69e2bbd 100644
--- a/cpp/sca/samples/store2/catalog.hpp
+++ b/cpp/sca/test/store-function/catalog.hpp
@@ -45,8 +45,8 @@ const tuscany::list<ItemType> catalog_get(const service& currencyConverter) {
}
const tuscany::value catalog_service(const service& currencyConverter, const tuscany::list<tuscany::value>& args) {
- if (car(args) == "get")
- return catalog_get(currencyConverter);
+ if (car(args) == tuscany::value("get"))
+ return tuscany::value(catalog_get(currencyConverter));
return tuscany::value();
}