]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
compil fix for Qt-4.2
[lyx.git] / src / TextClass.h
index 670bc5694b38e09b1969815c9b9dcf6d61b887ae..a64aff64632b347a04cbb3be625c0cd19015cc99 100644 (file)
@@ -138,7 +138,7 @@ public:
        /// is this feature already provided by the class?
        bool provides(std::string const & p) const;
        /// features required by the class?
-       std::vector<std::string> requires() const { return requires_; }
+       std::set<std::string> const & requires() const { return requires_; }
 
        ///
        unsigned int columns() const;
@@ -205,7 +205,7 @@ private:
        /// latex packages loaded by document class.
        std::set<std::string> provides_;
        /// latex packages requested by document class.
-       std::vector<std::string> requires_;
+       std::set<std::string> requires_;
        ///
        unsigned int columns_;
        ///