diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-26 21:31:26 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-26 21:31:26 +0000 |
commit | c39d4c6d143697ee8982df0833499a8de934dd9a (patch) | |
tree | cbc758f3921459c0f11a96f24f5ef251db0bf367 /cpp/sca/samples/store/store-solution.hpp | |
parent | 8eb242943144ad5ea57c7471e4a3e199bf5687d5 (diff) |
Refactored the value class. Cleaned up usage of namespaces to remove side effects from includes. Added a few util functions to help work with threads. Added synchronizations to make pointers thread safe. Adjusted store sample to refactoring.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819220 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | cpp/sca/samples/store/store-solution.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/sca/samples/store/store-solution.hpp b/cpp/sca/samples/store/store-solution.hpp index ba36829718..73ddccafbe 100644 --- a/cpp/sca/samples/store/store-solution.hpp +++ b/cpp/sca/samples/store/store-solution.hpp @@ -22,13 +22,10 @@ #ifndef store_storesolution_hpp #define store_storesolution_hpp -#include <string.h> #include "tuscany/list.hpp" #include "store-composite.hpp" #include "currency-composite.hpp" -using namespace tuscany; - namespace store { @@ -44,11 +41,11 @@ public: currency(CurrencyImpl()), store(StoreImpl(currency)) { } - virtual const list<Item> getCatalog() const { + virtual const tuscany::list<Item> getCatalog() const { return store.getCatalog(); } - virtual const list<Item> getCart() const { + virtual const tuscany::list<Item> getCart() const { return store.getCart(); } |