From 5cc6dc59dc295f1acfe067d0b679c8805b7717f6 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Tue, 4 May 2021 11:22:38 +0200 Subject: [PATCH] Fixed compilation with GCC --- src/libslic3r/PrintConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 0044d91fd..72722e6fc 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -3942,7 +3942,7 @@ std::string validate(const FullPrintConfig &cfg) #define PRINT_CONFIG_CACHE_ELEMENT_INITIALIZATION(r, data, CLASS_NAME) Slic3r::CLASS_NAME::initialize_cache(); #define PRINT_CONFIG_CACHE_INITIALIZE(CLASSES_SEQ) \ BOOST_PP_SEQ_FOR_EACH(PRINT_CONFIG_CACHE_ELEMENT_DEFINITION, _, BOOST_PP_TUPLE_TO_SEQ(CLASSES_SEQ)) \ - static int print_config_static_initializer() { \ + int print_config_static_initializer() { \ /* Putting a trace here to avoid the compiler to optimize out this function. */ \ BOOST_LOG_TRIVIAL(trace) << "Initializing StaticPrintConfigs"; \ BOOST_PP_SEQ_FOR_EACH(PRINT_CONFIG_CACHE_ELEMENT_INITIALIZATION, _, BOOST_PP_TUPLE_TO_SEQ(CLASSES_SEQ)) \