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
diff --git a/cmdline/cmdline_types.h b/cmdline/cmdline_types.h
index 180baec..2667121 100644
--- a/cmdline/cmdline_types.h
+++ b/cmdline/cmdline_types.h
@@ -337,8 +337,8 @@
// Default constructors/copy-constructors.
MillisecondsToNanoseconds() : nanoseconds_(0ul) {}
- MillisecondsToNanoseconds(const MillisecondsToNanoseconds& rhs) = default;
- MillisecondsToNanoseconds(MillisecondsToNanoseconds&& rhs) = default;
+ MillisecondsToNanoseconds(const MillisecondsToNanoseconds&) = default;
+ MillisecondsToNanoseconds(MillisecondsToNanoseconds&&) = default;
private:
uint64_t nanoseconds_;
@@ -421,8 +421,8 @@
}
ParseStringList() = default;
- ParseStringList(const ParseStringList& rhs) = default;
- ParseStringList(ParseStringList&& rhs) = default;
+ ParseStringList(const ParseStringList&) = default;
+ ParseStringList(ParseStringList&&) = default;
private:
std::vector<std::string> list_;
@@ -651,8 +651,8 @@
max_stack_depth_(0) {
}
- TestProfilerOptions(const TestProfilerOptions& other) = default;
- TestProfilerOptions(TestProfilerOptions&& other) = default;
+ TestProfilerOptions(const TestProfilerOptions&) = default;
+ TestProfilerOptions(TestProfilerOptions&&) = default;
};
static inline std::ostream& operator<<(std::ostream& stream, const TestProfilerOptions& options) {