From 4db160cba9c936a95a4f160f293da28ef73d7a7d Mon Sep 17 00:00:00 2001 From: nre Date: Thu, 22 Dec 2016 14:54:58 +0100 Subject: [PATCH] Fix compiler error when building with FASTBuild FASTBuild attempts to preprocess and cache element_iterator.hpp, but the missing space between the ")" and the "const" tokens cause the compiler to throw error C2065: 'Intervalconst': undeclared identifier --- include/boost/icl/detail/element_iterator.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/icl/detail/element_iterator.hpp b/include/boost/icl/detail/element_iterator.hpp index 111f209..d01cea3 100644 --- a/include/boost/icl/detail/element_iterator.hpp +++ b/include/boost/icl/detail/element_iterator.hpp @@ -89,7 +89,7 @@ struct elemental; template< class DomainT, class CodomainT, ICL_COMPARE Compare, ICL_INTERVAL(ICL_COMPARE) Interval > - struct elemental > + struct elemental > { typedef std::pair segment_type; typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type; @@ -113,7 +113,7 @@ struct elemental; }; template< class CodomainT, ICL_INTERVAL(ICL_COMPARE) Interval > - struct elemental > + struct elemental > { typedef std::pair segment_type; typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type; @@ -161,7 +161,7 @@ struct segment_adapter -struct segment_adapter > +struct segment_adapter > { typedef segment_adapter type; typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type; @@ -214,7 +214,7 @@ struct segment_adapter }; template < class SegmentIteratorT, class CodomainT, ICL_INTERVAL(ICL_COMPARE) Interval > -struct segment_adapter > +struct segment_adapter > { typedef segment_adapter type; typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) interval_type;