Skip to content

Commit baec6f1

Browse files
authored
Merge pull request InsightSoftwareConsortium#4643 from thewtex/castxml-gcc-13
COMP: Revert "COMP: GCC 13 CastXML vector include workaround"
2 parents e64fa64 + 38dacc4 commit baec6f1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Modules/Core/Common/include/itkPrintHelper.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,10 @@
2222
#include <array>
2323
#include <iostream>
2424
#include <iterator>
25+
#include <vector>
2526
#include <list>
2627
#include <type_traits>
2728

28-
// Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112467
29-
#if defined(ITK_WRAPPING_PARSER) && defined(__GNUC__) && !defined(__clang__)
30-
# define __clang__
31-
# define ITK_CASTXML_GCC_VECTOR_WORKAROUND
32-
#endif
33-
#include <vector>
34-
#if defined(ITK_CASTXML_GCC_VECTOR_WORKAROUND)
35-
# undef __clang__
36-
# undef ITK_CASTXML_GCC_VECTOR_WORKAROUND
37-
#endif
3829

3930
namespace itk::print_helper
4031
{

0 commit comments

Comments
 (0)