mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 11:31:08 +02:00
Fixed MacOS build
The LLVM STL implementation does not recognize "typedef void iterator_traits" as dummy declaration. It will fall back to an empty traits struct. Using the default "forward_iterator_tag" for the iterator_traits solves this compile issue.
This commit is contained in:
committed by
Matthias Koefferlein
parent
bbe87ad5d9
commit
b49db04fb4
@@ -320,7 +320,7 @@ namespace {
|
||||
typedef lay::LayerPropertiesNodeRef value_type;
|
||||
typedef lay::LayerPropertiesNodeRef reference;
|
||||
// Dummy declarations required for std::iterator_traits
|
||||
typedef void iterator_category;
|
||||
typedef std::forward_iterator_tag iterator_category;
|
||||
typedef void difference_type;
|
||||
typedef void pointer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user