Being explicit regarding the initialization of two member variables. (#765)

This commit is contained in:
Daniel Lemire 2020-04-22 12:46:55 -04:00 committed by GitHub
parent c8140068ad
commit 536fe28f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ public:
const size_t len;
const uint32_t* const structural_indexes;
size_t next_structural; // next structural index
size_t idx; // location of the structural character in the input (buf)
uint8_t c; // used to track the (structural) character we are looking at
size_t idx{0}; // location of the structural character in the input (buf)
uint8_t c{0}; // used to track the (structural) character we are looking at
};
struct structural_parser {