diff --git a/src/HunspellChecker.cpp b/src/HunspellChecker.cpp index 2310f77458..fc6e0e5b37 100644 --- a/src/HunspellChecker.cpp +++ b/src/HunspellChecker.cpp @@ -28,10 +28,12 @@ using namespace std; namespace lyx { namespace { -typedef map Spellers; -} -class HunspellChecker::Private +typedef map Spellers; + +} // anon namespace + +struct HunspellChecker::Private { /// the spellers Spellers spellers_;