]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
Refactor InsetQuotes.h enums
[lyx.git] / src / TocBackend.h
index 6ed3e8ee4fbb65dd240206a0112ef3c1a44fc9b6..b67ee60da3d4585e9109a51d653a87b7eb489aee 100644 (file)
@@ -116,7 +116,7 @@ public:
        ///
        void reset();
        /// \return true if the item was updated.
-       bool updateItem(DocIterator const & pit);
+       bool updateItem(DocIterator const & pit) const;
        ///
        TocList const & tocs() const { return tocs_; }
        /// never null
@@ -149,7 +149,7 @@ private:
        ///
        TocList tocs_;
        ///
-       std::map<std::string, unique_ptr<TocBuilder>> builders_;
+    std::map<std::string, std::unique_ptr<TocBuilder>> builders_;
        /// Stores localised outliner names from this buffer and its children
        std::map<std::string, docstring> outliner_names_;
        ///