From 17b6597cd462ca5d4919cec85ecfb541dda217f7 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 5 Oct 2015 15:59:28 +0100 Subject: [PATCH] benchmark - update test_getline.cpp --- benchmark/test_getline.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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