Skip to content

Commit a402578

Browse files
authored
Commenting out one attribute when SIMDJSON_THREADS_ENABLED is off. (simdjson#453)
1 parent c6f2f60 commit a402578

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/simdjson/jsonstream.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ namespace simdjson {
127127
size_t next_json{0};
128128
bool load_next_batch{true};
129129
size_t current_buffer_loc{0};
130+
#ifdef SIMDJSON_THREADS_ENABLED
130131
size_t last_json_buffer_loc{0};
132+
#endif
131133
size_t n_parsed_docs{0};
132134
size_t n_bytes_parsed{0};
133135
#ifdef SIMDJSON_THREADS_ENABLED

0 commit comments

Comments
 (0)