]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
Check path of Qt tools if qtchooser is detected
[lyx.git] / src / WordList.h
index f57f20b0680b278afda11463460c34578a69c3bf..5b0488bb04030dc50c469cff0a17091e04ed7b1e 100644 (file)
 
 #include "support/docstring.h"
 
+#include <memory>
+
 namespace lyx {
 
 class WordList {
 public:
        ///
        WordList();
-       ///
-       ~WordList();
-
        ///
        docstring const & word(size_t idx) const;
        ///
@@ -36,7 +35,7 @@ public:
 
 private:
        struct Impl;
-       Impl * d;
+       std::unique_ptr<Impl> d;
 };
 
 WordList * theWordList(std::string const & lang);