From 7baaeb3fd2d12928f79e32821b6c01784b99b2a6 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 4 Jul 2014 21:15:21 +0200 Subject: [PATCH] Make WordList noncopyable To avoid unwanted double deletion of d. --- src/WordList.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/WordList.h b/src/WordList.h index f57f20b068..d21f9c8c7e 100644 --- a/src/WordList.h +++ b/src/WordList.h @@ -17,6 +17,9 @@ namespace lyx { class WordList { + // noncopyable because of pimpl + WordList(WordList const &); + WordList & operator=(WordList const &); public: /// WordList(); -- 2.39.5