mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Update datatest.cpp
This commit is contained in:
parent
3b76ccc5a5
commit
851d355f5b
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user