diff options
Diffstat (limited to 'logging/env_logger_test.cc')
-rw-r--r-- | logging/env_logger_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logging/env_logger_test.cc b/logging/env_logger_test.cc index 467ab064f..21db8b658 100644 --- a/logging/env_logger_test.cc +++ b/logging/env_logger_test.cc @@ -138,7 +138,7 @@ TEST_F(EnvLoggerTest, ConcurrentLogging) { const int kNumThreads = 5; // Create threads. for (int ii = 0; ii < kNumThreads; ++ii) { - threads.push_back(port::Thread(cb)); + threads.emplace_back(cb); } // Wait for them to complete. |