diff options
author | Noah Eisen <ncteisen@google.com> | 2018-06-07 22:52:23 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-06-14 14:58:09 -0400 |
commit | 373fc6dc40a7d12bb257d67188ca3aa3c997d8a6 (patch) | |
tree | a0bf04f2f5ee080b1adeb6d9dc59a91157ae0d45 /test/cpp/codegen | |
parent | 58e0cbf9fb67186ee67be5bb71aba36e9cfebe7f (diff) |
Manual fixes to enable performance- clang tidy checks
Diffstat (limited to 'test/cpp/codegen')
-rw-r--r-- | test/cpp/codegen/golden_file_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/codegen/golden_file_test.cc b/test/cpp/codegen/golden_file_test.cc index 7e4d15a7c9..bfd3649494 100644 --- a/test/cpp/codegen/golden_file_test.cc +++ b/test/cpp/codegen/golden_file_test.cc @@ -37,8 +37,8 @@ DEFINE_string( const char kGoldenFilePath[] = "test/cpp/codegen/compiler_test_golden"; const char kMockGoldenFilePath[] = "test/cpp/codegen/compiler_test_mock_golden"; -void run_test(std::basic_string<char> generated_file, - std::basic_string<char> golden_file) { +void run_test(const std::basic_string<char>& generated_file, + const std::basic_string<char>& golden_file) { std::ifstream generated(generated_file); std::ifstream golden(golden_file); |