summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/test/store-function/currency.hpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-30 08:36:07 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-30 08:36:07 +0000
commitcd7dae28b034deebc9c2c2469ed9d8f1f3dab1ed (patch)
tree80cead86cff364718c968849e1c185121a79892d /sca-cpp/trunk/test/store-function/currency.hpp
parenta9941f3ba6624b88ef62a2a7bf260f50761ffbf9 (diff)
Added debug macros and cleaned up debug logging. Added locking macros used when compiling for multithreading. Fixed value conversions to numbers. Fixed compile warnings.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@885348 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/test/store-function/currency.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/test/store-function/currency.hpp b/sca-cpp/trunk/test/store-function/currency.hpp
index 453a5e1e81..ca4376d2c7 100644
--- a/sca-cpp/trunk/test/store-function/currency.hpp
+++ b/sca-cpp/trunk/test/store-function/currency.hpp
@@ -24,13 +24,14 @@
#include <math.h>
#include <string>
+#include "debug.hpp"
#include "service.hpp"
#include "item.hpp"
namespace store
{
-const double currencyConverter_convert(const std::string& fromCurrencyCode, const std::string& toCurrencyCode, const double amount) {
+const double currencyConverter_convert(unused const std::string& fromCurrencyCode, const std::string& toCurrencyCode, const double amount) {
if(toCurrencyCode == "USD")
return amount;
if(toCurrencyCode == "EUR")