]> git.lyx.org Git - lyx.git/blobdiff - src/FontList.h
Fix compatibility issue with 64-bit cygwin.
[lyx.git] / src / FontList.h
index 59650b85cff5e80d18905c2745b11926d871aa6d..fed99fe8fc08d34c14ae29bbb565312d68fc79f1 100644 (file)
@@ -84,13 +84,15 @@ public:
        ///
        bool empty() const { return list_.empty(); }
        ///
+       void clear() { list_.clear(); }
+       ///
        void erase(pos_type pos);
        ///
        iterator fontIterator(pos_type pos);
        ///
        const_iterator fontIterator(pos_type pos) const;
        ///
-       Font & get(pos_type pos);
+       Font const & get(pos_type pos);
        ///
        void set(pos_type pos, Font const & font);
        ///