mirror of
https://github.com/boostorg/regex.git
synced 2025-07-05 00:26:30 +02:00
Merged accumulated patches from Trunk.
[SVN r62831]
This commit is contained in:
@ -85,7 +85,7 @@ void load_file(std::string& s, std::istream& is)
|
||||
{
|
||||
s.erase();
|
||||
if(is.bad()) return;
|
||||
s.reserve(is.rdbuf()->in_avail());
|
||||
s.reserve(static_cast<std::string::size_type>(is.rdbuf()->in_avail()));
|
||||
char c;
|
||||
while(is.get(c))
|
||||
{
|
||||
|
Reference in New Issue
Block a user