mirror of
https://github.com/boostorg/json.git
synced 2026-01-19 04:12:14 +00:00
Refactor string max size
This commit is contained in:
@@ -2643,6 +2643,7 @@ public:
|
||||
(s.resize(s.max_size() + 1)),
|
||||
std::length_error);
|
||||
}
|
||||
#if 0
|
||||
{
|
||||
// VFALCO tsan doesn't like this
|
||||
string s;
|
||||
@@ -2654,6 +2655,7 @@ public:
|
||||
{
|
||||
}
|
||||
}
|
||||
#endif
|
||||
{
|
||||
string s;
|
||||
s.resize(100);
|
||||
|
||||
Reference in New Issue
Block a user