From 851d355f5b8e8b43722abe57950858b4d61c374a Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 19 Mar 2021 18:56:21 -0400 Subject: Update datatest.cpp --- datatest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'datatest.cpp') diff --git a/datatest.cpp b/datatest.cpp index 6634964e..191e23f5 100644 --- a/datatest.cpp +++ b/datatest.cpp @@ -73,8 +73,8 @@ bool Readline(std::istream& stream, std::string& line) } // Grow by 1.5x as needed - if (line.capacity() == 0) - line.reserve(line.size()*3/2); + //if (line.capacity() == 0) + // line.reserve(line.size()*3/2); line.push_back(static_cast(ch)); } -- cgit v1.2.1