Skip to content

Commit 064d425

Browse files
committed
Ok.
1 parent 04139eb commit 064d425

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/arm64/implementation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class implementation final : public simdjson::implementation {
1818
std::unique_ptr<internal::dom_parser_implementation>& dst
1919
) const noexcept final;
2020
WARN_UNUSED error_code minify(const uint8_t *buf, size_t len, uint8_t *dst, size_t &dst_len) const noexcept final;
21+
WARN_UNUSED bool utf8_validate(const char *buf, size_t len) const noexcept;//mark final
2122
};
2223

2324
} // namespace arm64

src/fallback/implementation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class implementation final : public simdjson::implementation {
2222
std::unique_ptr<internal::dom_parser_implementation>& dst
2323
) const noexcept final;
2424
WARN_UNUSED error_code minify(const uint8_t *buf, size_t len, uint8_t *dst, size_t &dst_len) const noexcept final;
25+
WARN_UNUSED bool utf8_validate(const char *buf, size_t len) const noexcept;//mark final
2526
};
2627

2728
} // namespace fallback

src/haswell/implementation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class implementation final : public simdjson::implementation {
2020
std::unique_ptr<internal::dom_parser_implementation>& dst
2121
) const noexcept final;
2222
WARN_UNUSED error_code minify(const uint8_t *buf, size_t len, uint8_t *dst, size_t &dst_len) const noexcept final;
23+
WARN_UNUSED bool utf8_validate(const char *buf, size_t len) const noexcept;//mark final
2324
};
2425

2526
} // namespace haswell

src/westmere/implementation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class implementation final : public simdjson::implementation {
1919
std::unique_ptr<internal::dom_parser_implementation>& dst
2020
) const noexcept final;
2121
WARN_UNUSED error_code minify(const uint8_t *buf, size_t len, uint8_t *dst, size_t &dst_len) const noexcept final;
22+
WARN_UNUSED bool utf8_validate(const char *buf, size_t len) const noexcept;//mark final
2223
};
2324

2425
} // namespace westmere

0 commit comments

Comments
 (0)