diff options
Diffstat (limited to 'compiler/utils/assembler_test_base.h')
-rw-r--r-- | compiler/utils/assembler_test_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/assembler_test_base.h b/compiler/utils/assembler_test_base.h index bf73808603..de19d660a7 100644 --- a/compiler/utils/assembler_test_base.h +++ b/compiler/utils/assembler_test_base.h @@ -59,7 +59,7 @@ class AssemblerTestBase : public testing::Test { // This is intended to be run as a test. bool CheckTools() { - for (auto cmd : { GetAssemblerCommand()[0], GetDisassemblerCommand()[0] }) { + for (const std::string& cmd : { GetAssemblerCommand()[0], GetDisassemblerCommand()[0] }) { if (!OS::FileExists(cmd.c_str())) { LOG(ERROR) << "Could not find " << cmd; return false; |