summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-08-26 05:18:15 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-08-26 05:18:15 +0000
commit91c4354f61b14cbdab6a2f1922f4ffca23acaf22 (patch)
tree4bd4d3259e53cd24930c27a40323acce848b40c8 /sca-cpp/trunk/components
parent8603a54631cbc4201ee4078de1b2bf54bdd4603d (diff)
Fix build errors with latest GCC and CLang compilers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1517422 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components')
-rw-r--r--sca-cpp/trunk/components/cache/memcache.hpp2
-rw-r--r--sca-cpp/trunk/components/filedb/filedb.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/cache/memcache.hpp b/sca-cpp/trunk/components/cache/memcache.hpp
index 06e2061a09..d9e9a2b798 100644
--- a/sca-cpp/trunk/components/cache/memcache.hpp
+++ b/sca-cpp/trunk/components/cache/memcache.hpp
@@ -68,7 +68,7 @@ public:
private:
const gc_child_pool p;
- const bool owner;
+ unused const bool owner;
apr_memcache_t* const mc;
friend const failable<bool> post(const value& key, const value& val, const MemCached& cache);
diff --git a/sca-cpp/trunk/components/filedb/filedb.hpp b/sca-cpp/trunk/components/filedb/filedb.hpp
index 89e0c1b424..22f2dfffc8 100644
--- a/sca-cpp/trunk/components/filedb/filedb.hpp
+++ b/sca-cpp/trunk/components/filedb/filedb.hpp
@@ -74,7 +74,7 @@ public:
}
private:
- const bool owner;
+ unused const bool owner;
const string name;
const string format;