File tree 4 files changed +5
-6
lines changed 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ namespace logger {
6
6
static constexpr const int LOG_EVENT_LEN = 20 ;
7
7
static constexpr const int LOG_BUFFER_LEN = 30 ;
8
8
static constexpr const int LOG_SMALL_BUFFER_LEN = 10 ;
9
- static constexpr const int LOG_INDEX_LEN = 5 ;
10
9
using SIMDJSON_IMPLEMENTATION::logger::DASHES;
11
10
using SIMDJSON_IMPLEMENTATION::logger::printable_char;
12
11
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ simdjson_really_inline SIMDJSON_WARN_UNUSED simdjson_result<std::string_view> ra
15
15
return result;
16
16
}
17
17
18
- simdjson_really_inline bool operator ==(const raw_json_string &a, std::string_view b) noexcept {
18
+ SIMDJSON_UNUSED simdjson_really_inline bool operator ==(const raw_json_string &a, std::string_view b) noexcept {
19
19
return !strncmp (a.raw (), b.data (), b.size ());
20
20
}
21
21
22
- simdjson_really_inline bool operator ==(std::string_view a, const raw_json_string &b) noexcept {
22
+ SIMDJSON_UNUSED simdjson_really_inline bool operator ==(std::string_view a, const raw_json_string &b) noexcept {
23
23
return b == a;
24
24
}
25
25
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ class raw_json_string {
23
23
friend class object ;
24
24
};
25
25
26
- simdjson_really_inline bool operator ==(const raw_json_string &a, std::string_view b) noexcept ;
27
- simdjson_really_inline bool operator ==(std::string_view a, const raw_json_string &b) noexcept ;
26
+ SIMDJSON_UNUSED simdjson_really_inline bool operator ==(const raw_json_string &a, std::string_view b) noexcept ;
27
+ SIMDJSON_UNUSED simdjson_really_inline bool operator ==(std::string_view a, const raw_json_string &b) noexcept ;
28
28
29
29
} // namespace ondemand
30
30
} // namespace SIMDJSON_IMPLEMENTATION
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ namespace logger {
37
37
}
38
38
}
39
39
40
- static simdjson_really_inline void log_string (const char *message) {
40
+ SIMDJSON_UNUSED static simdjson_really_inline void log_string (const char *message) {
41
41
if (LOG_ENABLED) {
42
42
printf (" %s\n " , message);
43
43
}
You can’t perform that action at this time.
0 commit comments