summaryrefslogtreecommitdiff
path: root/datatest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-03-19 18:56:21 -0400
committerJeffrey Walton <noloader@gmail.com>2021-03-19 18:56:21 -0400
commit851d355f5b8e8b43722abe57950858b4d61c374a (patch)
treea42d6722f4479eab37410e4a79bf6674bbd6697d /datatest.cpp
parent3b76ccc5a5ff2444c0f4c73246f978cbba870fee (diff)
downloadcryptopp-git-851d355f5b8e8b43722abe57950858b4d61c374a.tar.gz
Update datatest.cpp
Diffstat (limited to 'datatest.cpp')
-rw-r--r--datatest.cpp4
1 files changed, 2 insertions, 2 deletions
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<char>(ch));
}