2
0
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:
Vinnie Falco
2019-11-02 16:27:46 -07:00
parent c3bff8a18b
commit 349b14fa89
2 changed files with 6 additions and 15 deletions

View File

@@ -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);