Tool found: pass by value when pass by reference is better in system wrapper unit test.

BUG=N/A

Review URL: https://webrtc-codereview.appspot.com/1186006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3662 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org 2013-03-12 21:49:56 +00:00
parent d6cd64ac6a
commit 728b7ea245

View File

@ -18,7 +18,7 @@ using ::webrtc::DataLog;
const char* kDataLogFileName = "table_1.txt";
void PerformLogging(std::string table_name) {
void PerformLogging(const std::string& table_name) {
// Simulate normal DataTable logging behavior using this table name.
ASSERT_EQ(0, DataLog::AddTable(table_name));
ASSERT_EQ(0, DataLog::AddColumn(table_name, "test", 1));