diff --git a/test/preprocessor_test.cpp b/test/preprocessor_test.cpp index eadc039..d15fe0d 100644 --- a/test/preprocessor_test.cpp +++ b/test/preprocessor_test.cpp @@ -11,6 +11,7 @@ */ #include +#include #include #include #include @@ -22,12 +23,12 @@ struct Container { #define BOOST_PP_DEF(CV)\ - CV int& operator[](int i) CV; + CV() int& operator[](int i) CV(); - BOOST_PP_DEF(BOOST_PP_EMPTY()) - BOOST_PP_DEF(const) - BOOST_PP_DEF(volatile) - BOOST_PP_DEF(const volatile) + BOOST_PP_DEF(BOOST_PP_EMPTY) + BOOST_PP_DEF(BOOST_PP_IDENTITY(const)) + BOOST_PP_DEF(BOOST_PP_IDENTITY(volatile)) + BOOST_PP_DEF(BOOST_PP_IDENTITY(const volatile)) #undef BOOST_PP_DEF };