X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FWordList.h;h=5b0488bb04030dc50c469cff0a17091e04ed7b1e;hb=57b69a5efddf9f3c148007322f00dad6c253a2ed;hp=b7f88fb78f305767c278ec1fe19e1493b87de80b;hpb=79716cbcd0ce92126fb200785b54077d8e31fc18;p=lyx.git diff --git a/src/WordList.h b/src/WordList.h index b7f88fb78f..5b0488bb04 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -14,7 +14,7 @@ #include "support/docstring.h" -#include "Language.h" +#include namespace lyx { @@ -22,9 +22,6 @@ class WordList { public: /// WordList(); - /// - ~WordList(); - /// docstring const & word(size_t idx) const; /// @@ -38,10 +35,10 @@ public: private: struct Impl; - Impl * d; + std::unique_ptr d; }; -WordList * theWordList(Language const & lang); +WordList * theWordList(std::string const & lang); } // namespace lyx