summaryrefslogtreecommitdiff
path: root/core/translation.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-19 17:27:55 +0200
committerGitHub <noreply@github.com>2020-05-19 17:27:55 +0200
commitc2151e18135817c9f926a5a00341016ac77301d4 (patch)
treeef0c0fe7f7be76cab6234418ba77f8e18ca6d523 /core/translation.cpp
parent004ca80f0170b02899482bb36e77eef9de9b9ee8 (diff)
parent85220fec010a4946cb364974eac69418b4e06411 (diff)
Merge pull request #38857 from akien-mga/style-clang-format-unnecessary-semicolons
Style: Remove unnecessary semicolons from `core`
Diffstat (limited to 'core/translation.cpp')
-rw-r--r--core/translation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/translation.cpp b/core/translation.cpp
index f3c1489ce4..4f835bd7b4 100644
--- a/core/translation.cpp
+++ b/core/translation.cpp
@@ -873,7 +873,7 @@ void Translation::get_message_list(List<StringName> *r_messages) const {
int Translation::get_message_count() const {
return translation_map.size();
-};
+}
void Translation::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_locale", "locale"), &Translation::set_locale);
@@ -1022,7 +1022,7 @@ void TranslationServer::remove_translation(const Ref<Translation> &p_translation
void TranslationServer::clear() {
translations.clear();
-};
+}
StringName TranslationServer::translate(const StringName &p_message) const {
// Match given message against the translation catalog for the project locale.