summaryrefslogtreecommitdiffstats
path: root/runtime/base/variant_map.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-02-24 20:55:16 -0800
committerAndreas Gampe <agampe@google.com>2015-02-24 20:55:16 -0800
commitc801f0d79b8c5bf28401a040356b59b2f41520f4 (patch)
treeebb9d2dbe0e4dae09b0b83c71d2383611f0b2737 /runtime/base/variant_map.h
parent17b01497b29f980a3d515a01adcb5f47df67ac63 (diff)
downloadart-c801f0d79b8c5bf28401a040356b59b2f41520f4.zip
art-c801f0d79b8c5bf28401a040356b59b2f41520f4.tar.gz
art-c801f0d79b8c5bf28401a040356b59b2f41520f4.tar.bz2
ART: Fix "unused parameters"
GCC 4.8 decides that parameters for functions implemented with "= default" are unused. This currently only impacts x86, but remove the parameter names anyways. Change-Id: I01865faa81af68c4c0e0b1cb1fb19e88ef548769
Diffstat (limited to 'runtime/base/variant_map.h')
-rw-r--r--runtime/base/variant_map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/base/variant_map.h b/runtime/base/variant_map.h
index c9718fc..8655a9e 100644
--- a/runtime/base/variant_map.h
+++ b/runtime/base/variant_map.h
@@ -120,8 +120,8 @@ namespace detail {
protected:
// Avoid the object slicing problem; use Clone() instead.
- VariantMapKeyRaw(const VariantMapKeyRaw& other) = default;
- VariantMapKeyRaw(VariantMapKeyRaw&& other) = default;
+ VariantMapKeyRaw(const VariantMapKeyRaw&) = default;
+ VariantMapKeyRaw(VariantMapKeyRaw&&) = default;
private:
size_t key_counter_; // Runtime type ID. Unique each time a new type is reified.
@@ -174,8 +174,8 @@ struct VariantMapKey : detail::VariantMapKeyRaw {
deleter(reinterpret_cast<TValue*>(value));
}
- VariantMapKey(const VariantMapKey& other) = default;
- VariantMapKey(VariantMapKey&& other) = default;
+ VariantMapKey(const VariantMapKey&) = default;
+ VariantMapKey(VariantMapKey&&) = default;
template <typename Base, template <typename TV> class TKey> friend struct VariantMap;