diff --git a/benchmark/test_getline.cpp b/benchmark/test_getline.cpp index eac8892eb..1791b06cf 100644 --- a/benchmark/test_getline.cpp +++ b/benchmark/test_getline.cpp @@ -25,7 +25,7 @@ public: std::string csv_line; std::stringstream s; s << line_data_; - std::getline(s,csv_line,s.widen(newline)); + std::getline(s,csv_line,newline); if (csv_line != first) { return true; @@ -42,10 +42,9 @@ public: std::string csv_line; std::stringstream s; s << line_data_; - auto newline_widened = s.widen(newline); for (unsigned i=0;i