Merge pull request #549 from jia3ep/master

Added stack overflow test
This commit is contained in:
Christopher Dunn
2016-11-09 14:28:13 -06:00
committed by GitHub
4 changed files with 11 additions and 5 deletions

View File

@@ -45,7 +45,11 @@
#endif
static int const stackLimit_g = 1000;
#if __cplusplus >= 201103L
thread_local static int stackDepth_g = 0; // see readValue()
#else
static int stackDepth_g = 0; // see readValue()
#endif
namespace Json {