mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix compilation error with clang's libc++
The bug is probably fixed for clang 3.7.1 or 3.8.0
This commit is contained in:
parent
39717adfda
commit
626f8d4448
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user