]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathCompletionList.h
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / MathCompletionList.h
index 7d36557fcb35723fbbc83e280f1d97d01151fab8..87e412164fc35568476659834e8d2ee2ed1269fa 100644 (file)
@@ -24,18 +24,18 @@ namespace lyx {
 class MathCompletionList : public CompletionList {
 public:
        ///
-       MathCompletionList(Cursor const & cur);
+       explicit MathCompletionList(Cursor const & cur);
        ///
        virtual ~MathCompletionList();
 
        ///
-       virtual bool sorted() const { return false; }
+       bool sorted() const override { return false; }
        ///
-       virtual size_t size() const;
+       size_t size() const override;
        ///
-       virtual docstring const & data(size_t idx) const;
+       docstring const & data(size_t idx) const override;
        ///
-       virtual std::string icon(size_t idx) const;
+       std::string icon(size_t idx) const override;
 
        ///
        static void addToFavorites(docstring const & completion);