From a2d23bd463e65f532301b682b64cd02b8a57716b Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sat, 3 Jul 2021 13:21:38 +1000 Subject: Feature [feature-requests:#1408] Simplify code, remove IsDBCSTrailByteInvalid. Drop temporary test for IsDBCSTrailByteNoExcept. --- src/Document.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index 88392c1a2..c40ce2a44 100644 --- a/src/Document.h +++ b/src/Document.h @@ -331,7 +331,6 @@ public: bool IsDBCSLeadByteNoExcept(char ch) const noexcept; bool IsDBCSTrailByteNoExcept(char ch) const noexcept; bool IsDBCSLeadByteInvalid(char ch) const noexcept; - bool IsDBCSTrailByteInvalid(char ch) const noexcept; int DBCSDrawBytes(std::string_view text) const noexcept; int SafeSegment(const char *text, int length, int lengthSegment) const noexcept; EncodingFamily CodePageFamily() const noexcept; -- cgit v1.2.3