#define WORDLIST_H
#include "support/docstring.h"
+#include "support/mute_warning.h"
#include <memory>
void insert(docstring const & w);
///
void remove(docstring const & w);
- ///
- static void cleanupWordLists();
private:
struct Impl;
std::unique_ptr<Impl> d;
};
-WordList * theWordList(std::string const & lang);
+LYX_BEGIN_MUTE_GCC_WARNING(dangling-reference)
+WordList & theWordList(std::string const & lang);
+LYX_END_MUTE_GCC_WARNING
} // namespace lyx