]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
When we use InPremable styles, we want to write as many versions
[lyx.git] / src / TocBackend.h
index d5dfae426427cd8388ace89740d245e8db3aeb46..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;