Commit 3d9dd745 authored by Milo Yip's avatar Milo Yip

Remove setjmp header and jmpbuf member variable

parent 188b99b4
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "encodings.h" #include "encodings.h"
#include "internal/pow10.h" #include "internal/pow10.h"
#include "internal/stack.h" #include "internal/stack.h"
#include <csetjmp>
#ifdef RAPIDJSON_SSE42 #ifdef RAPIDJSON_SSE42
#include <nmmintrin.h> #include <nmmintrin.h>
...@@ -652,7 +651,6 @@ private: ...@@ -652,7 +651,6 @@ private:
static const size_t kDefaultStackCapacity = 256; //!< Default stack capacity in bytes for storing a single decoded string. static const size_t kDefaultStackCapacity = 256; //!< Default stack capacity in bytes for storing a single decoded string.
internal::Stack<Allocator> stack_; //!< A stack for storing decoded string temporarily during non-destructive parsing. internal::Stack<Allocator> stack_; //!< A stack for storing decoded string temporarily during non-destructive parsing.
jmp_buf jmpbuf_; //!< setjmp buffer for fast exit from nested parsing function calls.
const char* parseError_; const char* parseError_;
size_t errorOffset_; size_t errorOffset_;
}; // class GenericReader }; // class GenericReader
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment