Commit dbd014d0 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[master] Pass string instead of c-string in CSVFile class constructor.

This fixes a performance issue reported by cppcheck.
parent 0c0f4c9b
......@@ -29,7 +29,7 @@ CSVRow::CSVRow(const size_t cols, const char separator)
CSVRow::CSVRow(const std::string& text, const char separator)
: separator_(1, separator) {
// Parsing is exception safe, so this will not throw.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment