Skip to content

Commit ce1f6c2

Browse files
committed
Fix mismatch in function signature in json.cpp
1 parent 666d2c0 commit ce1f6c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/json.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ static void to_surrogate_pair(uint32_t unicode, uint16_t *uc, uint16_t *lc)
357357
*lc = (n & 0x3FF) | 0xDC00;
358358
}
359359

360-
bool is_space (const char *c);
361-
bool is_digit (const char *c);
360+
static bool is_space (const char& c);
361+
static bool is_digit (const char& c);
362362
static bool parse_value (const char **sp, JsonNode **out);
363363
static bool parse_string (const char **sp, char **out);
364364
static bool parse_number (const char **sp, double *out);

0 commit comments

Comments
 (0)