X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FWordList.h;h=2afd6cb050c9bb9cc103230c1fd08c7cd5fd86ae;hb=125ed160d625368520074f2898c0487d30d46b98;hp=d02b0b7b880eeb3d78f49fa2c1d964a015615c8f;hpb=cd5bad62e039629d0642550b9cd64358104b0c66;p=lyx.git diff --git a/src/WordList.h b/src/WordList.h index d02b0b7b88..2afd6cb050 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -14,15 +14,14 @@ #include "support/docstring.h" +#include + namespace lyx { class WordList { public: /// WordList(); - /// - ~WordList(); - /// docstring const & word(size_t idx) const; /// @@ -31,13 +30,13 @@ public: void insert(docstring const & w); /// void remove(docstring const & w); - + private: struct Impl; - Impl * d; + std::unique_ptr d; }; -WordList & theWordList(); +WordList & theWordList(std::string const & lang); } // namespace lyx