]> git.lyx.org Git - features.git/blobdiff - src/TextClass.h
A first batch of potential bugs spotted by llvm/clang
[features.git] / src / TextClass.h
index bc900fa7a5093e21db446b29bc3cadf853c032d7..9475b621e573786ebbaacaf66679859c1a3dba5e 100644 (file)
@@ -385,7 +385,7 @@ public:
        /// \return true if there is a Layout with latexname lay
        bool hasLaTeXLayout(std::string const & lay) const;
        /// A DocumentClass nevers count as loaded, since it is dynamic
-       virtual bool loaded() { return false; }
+       virtual bool loaded() const { return false; }
        /// \return the layout object of an inset given by name. If the name
        /// is not found as such, the part after the ':' is stripped off, and
        /// searched again. In this way, an error fallback can be provided: