]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/translation.h
Refactor utf8_to_wide/wide_to_utf8 functions
[dragonfireclient.git] / src / translation.h
index 71423b15ee1accfc614e44949352859c6819022c..f1a336fca63ff4954b5d41aa26aad521600865fe 100644 (file)
@@ -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(