commit | 5c657fe8e3afdce77dc610446f37a43865cff702 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Nov 03 15:12:29 2016 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Thu Nov 03 15:13:06 2016 +0000 |
tree | 1f9fe466058b7512036b27a5b22f7720eb00729d | |
parent | 2ab98309c0fc7b3c7451205b2371db5c34b05d49 [diff] [blame] |
Pass some arguments by const reference. Test: Rely on TreeHugger. Bug: 32619234 Change-Id: Ia26277893641dcb3562eaeacaec4e089a978d56a
diff --git a/runtime/runtime.h b/runtime/runtime.h index 77ec238..6f68960 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h
@@ -182,7 +182,7 @@ return compiler_options_; } - void AddCompilerOption(std::string option) { + void AddCompilerOption(const std::string& option) { compiler_options_.push_back(option); }