mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-17 03:48:38 +00:00
Update datatest.cpp
This commit is contained in:
parent
93c4fc2b8a
commit
2dd1082c78
@ -72,10 +72,8 @@ bool Readline(std::istream& stream, std::string& line)
|
||||
break;
|
||||
}
|
||||
|
||||
// Grow by 1.5x as needed
|
||||
//if (line.capacity() == 0)
|
||||
// line.reserve(line.size()*3/2);
|
||||
|
||||
// Let string class manage its own capacity.
|
||||
// The string will grow as needed.
|
||||
line.push_back(static_cast<char>(ch));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user