X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextClass.h;h=13d2234873af1180318583e63c566d9b05bbdda6;hb=42aaa245db9e91713427053d14bda6f700e214ee;hp=71a2241a40ea0e083c24abf5fd486715a4c3ef27;hpb=700af7e7011f102d92222744791638ff2db18f94;p=lyx.git diff --git a/src/TextClass.h b/src/TextClass.h index 71a2241a40..13d2234873 100644 --- a/src/TextClass.h +++ b/src/TextClass.h @@ -24,7 +24,6 @@ #include -#include #include #include #include @@ -364,7 +363,7 @@ protected: /// Constructs a DocumentClass based upon a LayoutFile. DocumentClass(LayoutFile const & tc); /// Needed in tex2lyx - DocumentClass() {}; + DocumentClass() {} private: /// The only class that can create a DocumentClass is /// DocumentClassBundle, which calls the protected constructor. @@ -393,8 +392,10 @@ public: private: /// control instantiation DocumentClassBundle() {} + /// clean up + ~DocumentClassBundle(); /// - std::list tc_list_; + std::vector documentClasses_; };