summaryrefslogtreecommitdiffstats
path: root/cmdline/cmdline_result.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 /cmdline/cmdline_result.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 'cmdline/cmdline_result.h')
-rw-r--r--cmdline/cmdline_result.h4
1 files changed, 2 insertions, 2 deletions
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_;