File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ constexpr size_t DEFAULT_MAX_DEPTH = 1024;
98
98
99
99
#else // SIMDJSON_REGULAR_VISUAL_STUDIO
100
100
101
- #define really_inline inline __attribute__ ((always_inline, unused ))
102
- #define never_inline inline __attribute__ ((noinline, unused ))
101
+ #define really_inline inline __attribute__ ((always_inline))
102
+ #define never_inline inline __attribute__ ((noinline))
103
103
104
104
#define UNUSED __attribute__ ((unused))
105
105
#define WARN_UNUSED __attribute__ ((warn_unused_result))
Original file line number Diff line number Diff line change 23
23
* complete document, therefore the last json buffer location is the end of the
24
24
* batch.
25
25
*/
26
- really_inline static uint32_t find_next_document_index (dom_parser_implementation & parser ) {
26
+ really_inline uint32_t find_next_document_index (dom_parser_implementation & parser ) {
27
27
// TODO don't count separately, just figure out depth
28
28
auto arr_cnt = 0 ;
29
29
auto obj_cnt = 0 ;
@@ -65,7 +65,7 @@ really_inline static uint32_t find_next_document_index(dom_parser_implementation
65
65
}
66
66
67
67
// Skip the last character if it is partial
68
- really_inline static size_t trim_partial_utf8 (const uint8_t * buf , size_t len ) {
68
+ really_inline size_t trim_partial_utf8 (const uint8_t * buf , size_t len ) {
69
69
if (unlikely (len < 3 )) {
70
70
switch (len ) {
71
71
case 2 :
You can’t perform that action at this time.
0 commit comments