diff options
author | 2015-02-24 20:55:16 -0800 | |
---|---|---|
committer | 2015-02-24 20:55:16 -0800 | |
commit | c801f0d79b8c5bf28401a040356b59b2f41520f4 (patch) | |
tree | ebb9d2dbe0e4dae09b0b83c71d2383611f0b2737 /cmdline/token_range.h | |
parent | 17b01497b29f980a3d515a01adcb5f47df67ac63 (diff) |
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 'cmdline/token_range.h')
-rw-r--r-- | cmdline/token_range.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/token_range.h b/cmdline/token_range.h index 50c54fea4c..5b54384e42 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) |