diff options
author | Andreas Gampe <agampe@google.com> | 2015-02-25 04:56:43 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-02-25 04:56:43 +0000 |
commit | 42f8c1c39b74aae50714488525d14de30f9722c9 (patch) | |
tree | 6f8fb16d45fc182c3a7669651e2be14f38a788e8 /cmdline | |
parent | 8fa836e16e65aca3aeaa1c4784157207188e6373 (diff) | |
parent | c801f0d79b8c5bf28401a040356b59b2f41520f4 (diff) | |
download | art-42f8c1c39b74aae50714488525d14de30f9722c9.zip art-42f8c1c39b74aae50714488525d14de30f9722c9.tar.gz art-42f8c1c39b74aae50714488525d14de30f9722c9.tar.bz2 |
Merge "ART: Fix "unused parameters""
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/cmdline_parse_result.h | 4 | ||||
-rw-r--r-- | cmdline/cmdline_parser.h | 4 | ||||
-rw-r--r-- | cmdline/cmdline_result.h | 4 | ||||
-rw-r--r-- | cmdline/cmdline_types.h | 12 | ||||
-rw-r--r-- | cmdline/token_range.h | 4 |
5 files changed, 14 insertions, 14 deletions
diff --git a/cmdline/cmdline_parse_result.h b/cmdline/cmdline_parse_result.h index d6ac341..717642f 100644 --- a/cmdline/cmdline_parse_result.h +++ b/cmdline/cmdline_parse_result.h @@ -117,9 +117,9 @@ struct CmdlineParseResult : CmdlineResult { } // Make sure copying is allowed - CmdlineParseResult(const CmdlineParseResult& other) = default; + CmdlineParseResult(const CmdlineParseResult&) = default; // Make sure moving is cheap - CmdlineParseResult(CmdlineParseResult&& other) = default; + CmdlineParseResult(CmdlineParseResult&&) = default; private: explicit CmdlineParseResult(const T& value) diff --git a/cmdline/cmdline_parser.h b/cmdline/cmdline_parser.h index a555356..e4af4f9 100644 --- a/cmdline/cmdline_parser.h +++ b/cmdline/cmdline_parser.h @@ -490,9 +490,9 @@ struct CmdlineParser { } // Ensure we have a default move constructor. - CmdlineParser(CmdlineParser&& other) = default; + CmdlineParser(CmdlineParser&&) = default; // Ensure we have a default move assignment operator. - CmdlineParser& operator=(CmdlineParser&& other) = default; + CmdlineParser& operator=(CmdlineParser&&) = default; private: friend struct Builder; diff --git a/cmdline/cmdline_result.h b/cmdline/cmdline_result.h index bf3a85d..963dfc1 100644 --- a/cmdline/cmdline_result.h +++ b/cmdline/cmdline_result.h @@ -65,9 +65,9 @@ namespace art { } // Make sure copying exists - CmdlineResult(const CmdlineResult& other) = default; + CmdlineResult(const CmdlineResult&) = default; // Make sure moving is cheap - CmdlineResult(CmdlineResult&& other) = default; + CmdlineResult(CmdlineResult&&) = default; private: const Status status_; diff --git a/cmdline/cmdline_types.h b/cmdline/cmdline_types.h index 04ea368..de99278 100644 --- a/cmdline/cmdline_types.h +++ b/cmdline/cmdline_types.h @@ -337,8 +337,8 @@ struct MillisecondsToNanoseconds { // 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 @@ struct ParseStringList { } ParseStringList() = default; - ParseStringList(const ParseStringList& rhs) = default; - ParseStringList(ParseStringList&& rhs) = default; + ParseStringList(const ParseStringList&) = default; + ParseStringList(ParseStringList&&) = default; private: std::vector<std::string> list_; @@ -653,8 +653,8 @@ struct TestProfilerOptions { 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) { diff --git a/cmdline/token_range.h b/cmdline/token_range.h index 50c54fe..5b54384 100644 --- a/cmdline/token_range.h +++ b/cmdline/token_range.h @@ -90,10 +90,10 @@ struct TokenRange { } // Non-copying copy constructor. - TokenRange(const TokenRange& other) = default; + TokenRange(const TokenRange&) = default; // Non-copying move constructor. - TokenRange(TokenRange&& other) = default; + TokenRange(TokenRange&&) = default; // Non-copying constructor. Retains reference to an existing list of tokens, with offset. explicit TokenRange(std::shared_ptr<TokenList> token_list) |