diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-09-16 14:51:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 14:51:11 +0100 |
commit | 9ec75d77651c333eca3c5b46a3a56c8353fed464 (patch) | |
tree | fb8d42716279514e8850e53e47973a0f6d0ef7d5 /src/translation.h | |
parent | c8303f790ccb03857d031ecb73de7f9f59a6ceba (diff) | |
download | minetest-9ec75d77651c333eca3c5b46a3a56c8353fed464.tar.gz minetest-9ec75d77651c333eca3c5b46a3a56c8353fed464.tar.bz2 minetest-9ec75d77651c333eca3c5b46a3a56c8353fed464.zip |
Clean up server-side translations, remove global variable (#10075)
Diffstat (limited to 'src/translation.h')
-rw-r--r-- | src/translation.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/translation.h b/src/translation.h index 71423b15e..f1a336fca 100644 --- a/src/translation.h +++ b/src/translation.h @@ -23,7 +23,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <string> class Translations; -extern std::unordered_map<std::string, Translations> *g_server_translations; #ifndef SERVER extern Translations *g_client_translations; #endif @@ -31,10 +30,6 @@ extern Translations *g_client_translations; class Translations { public: - Translations() = default; - - ~Translations(); - void loadTranslation(const std::string &data); void clear(); const std::wstring &getTranslation( |