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:
klayoutmatthias
2017-12-12 00:21:16 +01:00
committed by Matthias Koefferlein
parent bbe87ad5d9
commit b49db04fb4
5 changed files with 7 additions and 5 deletions
@@ -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;