diff options
author | Yabin Cui <yabinc@google.com> | 2015-04-28 15:54:13 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2015-05-04 14:32:32 -0700 |
commit | 9759e1b1ce76185aa539aeea2fb1cbd8382156e7 (patch) | |
tree | 69196161e28ebe74fb27093e026983fd98b004da /simpleperf/command.cpp | |
parent | 249518de7cb7ddb1c066b3bb8b10bc0f66222f7d (diff) | |
download | extras-9759e1b1ce76185aa539aeea2fb1cbd8382156e7.tar.gz |
Implement simpleperf record/dumprecord subcommands.
Bug: 19483574
Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
Diffstat (limited to 'simpleperf/command.cpp')
-rw-r--r-- | simpleperf/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/command.cpp b/simpleperf/command.cpp index 8b911fdc..79cbc446 100644 --- a/simpleperf/command.cpp +++ b/simpleperf/command.cpp @@ -28,7 +28,7 @@ static std::vector<Command*>& Commands() { } Command* Command::FindCommandByName(const std::string& cmd_name) { - for (auto command : Commands()) { + for (auto& command : Commands()) { if (command->Name() == cmd_name) { return command; } |