@@ -247,7 +247,7 @@ inline bool document::print_json(std::ostream &os, size_t max_depth) const noexc
247247 uint8_t type = (tape_val >> 56 );
248248 size_t how_many = 0 ;
249249 if (type == ' r' ) {
250- how_many = tape_val & JSON_VALUE_MASK;
250+ how_many = tape_val & internal:: JSON_VALUE_MASK;
251251 } else {
252252 // Error: no starting root node?
253253 return false ;
@@ -260,7 +260,7 @@ inline bool document::print_json(std::ostream &os, size_t max_depth) const noexc
260260 in_object[depth] = false ;
261261 for (; tape_idx < how_many; tape_idx++) {
262262 tape_val = tape[tape_idx];
263- uint64_t payload = tape_val & JSON_VALUE_MASK;
263+ uint64_t payload = tape_val & internal:: JSON_VALUE_MASK;
264264 type = (tape_val >> 56 );
265265 if (!in_object[depth]) {
266266 if ((in_object_idx[depth] > 0 ) && (type != ' ]' )) {
@@ -355,7 +355,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {
355355 tape_idx++;
356356 size_t how_many = 0 ;
357357 if (type == ' r' ) {
358- how_many = tape_val & JSON_VALUE_MASK;
358+ how_many = tape_val & internal:: JSON_VALUE_MASK;
359359 } else {
360360 // Error: no starting root node?
361361 return false ;
@@ -365,7 +365,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {
365365 for (; tape_idx < how_many; tape_idx++) {
366366 os << tape_idx << " : " ;
367367 tape_val = tape[tape_idx];
368- payload = tape_val & JSON_VALUE_MASK;
368+ payload = tape_val & internal:: JSON_VALUE_MASK;
369369 type = (tape_val >> 56 );
370370 switch (type) {
371371 case ' "' : // we have a string
@@ -432,7 +432,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {
432432 }
433433 }
434434 tape_val = tape[tape_idx];
435- payload = tape_val & JSON_VALUE_MASK;
435+ payload = tape_val & internal:: JSON_VALUE_MASK;
436436 type = (tape_val >> 56 );
437437 os << tape_idx << " : " << type << " \t // pointing to " << payload
438438 << " (start root)\n " ;
@@ -685,7 +685,7 @@ really_inline document::tape_type document::tape_ref::type() const noexcept {
685685 return static_cast <tape_type>(doc->tape [json_index] >> 56 );
686686}
687687really_inline uint64_t document::tape_ref::tape_value () const noexcept {
688- return doc->tape [json_index] & JSON_VALUE_MASK;
688+ return doc->tape [json_index] & internal:: JSON_VALUE_MASK;
689689}
690690template <typename T>
691691really_inline T document::tape_ref::next_tape_value () const noexcept {
0 commit comments