]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
Fix typo.
[lyx.git] / src / TocBackend.h
index e18f1bc0947f5a90062ff83ed4ca9993525f5c02..cc5e4292d8108779caa8925cd5df5e433280d728 100644 (file)
@@ -127,6 +127,9 @@ private:
 class Toc : public std::vector<TocItem>
 {
 public:
+       // This is needed to work around a libc++ bug
+       // https://llvm.org/bugs/show_bug.cgi?id=24137
+       Toc() {}
        typedef std::vector<TocItem>::const_iterator const_iterator;
        typedef std::vector<TocItem>::iterator iterator;
        const_iterator item(DocIterator const & dit) const;
@@ -221,6 +224,8 @@ public:
        ///
        void writePlaintextTocList(std::string const & type,
                odocstringstream & os, size_t max_length) const;
+       ///
+       docstring outlinerName(std::string const & type) const;
 
 private:
        ///