diff options
Diffstat (limited to 'src/plugins/tcime/3rdparty/tcime/cangjietable.h')
-rw-r--r-- | src/plugins/tcime/3rdparty/tcime/cangjietable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/tcime/3rdparty/tcime/cangjietable.h b/src/plugins/tcime/3rdparty/tcime/cangjietable.h index 223caa0a..575fd49c 100644 --- a/src/plugins/tcime/3rdparty/tcime/cangjietable.h +++ b/src/plugins/tcime/3rdparty/tcime/cangjietable.h @@ -47,7 +47,7 @@ public: /** * Returns {@code true} only if the given character is a valid cangjie letter. */ - static bool isLetter(QChar c); + static bool isLetter(QChar c) noexcept; /** * Returns the primary index calculated by the first and last letter of @@ -56,7 +56,7 @@ public: * @param code should not be null. * @return -1 for invalid code. */ - static int getPrimaryIndex(QStringView code); + static int getPrimaryIndex(QStringView code) noexcept; /** * Returns the secondary index calculated by letters between the first and @@ -65,7 +65,7 @@ public: * @param code should not be null. * @return -1 for invalid code. */ - static int getSecondaryIndex(QStringView code); + static int getSecondaryIndex(QStringView code) noexcept; }; } |