diff --git a/STL_Extension/include/CGAL/Compact_container.h b/STL_Extension/include/CGAL/Compact_container.h index dd5f0ebbd3f..d2cf18c293b 100644 --- a/STL_Extension/include/CGAL/Compact_container.h +++ b/STL_Extension/include/CGAL/Compact_container.h @@ -83,7 +83,7 @@ namespace CGAL { -#define GENERATE_MEMBER_DETECTOR(X) \ +#define CGAL_GENERATE_MEMBER_DETECTOR(X) \ template class has_##X { \ struct Fallback { int X; }; \ struct Derived : T, Fallback { }; \ @@ -99,7 +99,7 @@ template class has_##X { \ public: \ typedef has_##X type; \ enum { value = sizeof(func(0)) == 2 }; \ -}; +} // semicolon is after the macro call #define CGAL_INIT_COMPACT_CONTAINER_BLOCK_SIZE 14 #define CGAL_INCREMENT_COMPACT_CONTAINER_BLOCK_SIZE 16 @@ -181,7 +181,7 @@ namespace internal { template < class DSC, bool Const > class CC_iterator; - GENERATE_MEMBER_DETECTOR(increment_erase_counter); + CGAL_GENERATE_MEMBER_DETECTOR(increment_erase_counter); // A basic "no erase counter" strategy template diff --git a/STL_Extension/include/CGAL/Concurrent_compact_container.h b/STL_Extension/include/CGAL/Concurrent_compact_container.h index b71cb354c94..496585e6def 100644 --- a/STL_Extension/include/CGAL/Concurrent_compact_container.h +++ b/STL_Extension/include/CGAL/Concurrent_compact_container.h @@ -40,7 +40,7 @@ namespace CGAL { -#define GENERATE_MEMBER_DETECTOR(X) \ +#define CGAL_GENERATE_MEMBER_DETECTOR(X) \ template class has_##X { \ struct Fallback { int X; }; \ struct Derived : T, Fallback { }; \ @@ -56,7 +56,7 @@ template class has_##X { \ public: \ typedef has_##X type; \ enum { value = sizeof(func(0)) == 2 }; \ -}; +} // semicolon is after the macro call #define CGAL_INIT_CONCURRENT_COMPACT_CONTAINER_BLOCK_SIZE 14 #define CGAL_INCREMENT_CONCURRENT_COMPACT_CONTAINER_BLOCK_SIZE 16 @@ -73,7 +73,7 @@ namespace CCC_internal { template < class CCC, bool Const > class CCC_iterator; - GENERATE_MEMBER_DETECTOR(increment_erase_counter); + CGAL_GENERATE_MEMBER_DETECTOR(increment_erase_counter); // A basic "no erase counter" strategy template