We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8df28 commit 91a803dCopy full SHA for 91a803d
include/rapidjson/internal/stack.h
@@ -113,7 +113,6 @@ class Stack {
113
// Expansion is run very infrequently, so it is moved to another (probably non-inline) function.
114
template<typename T>
115
RAPIDJSON_FORCEINLINE void Reserve(size_t count = 1) {
116
- RAPIDJSON_ASSERT(stackTop_);
117
// Expand the stack if needed
118
if (RAPIDJSON_UNLIKELY(stackTop_ + sizeof(T) * count > stackEnd_))
119
Expand<T>(count);
0 commit comments