From 693488cb292e26727bd440f0020abc0c3e26f7f3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 4 Jul 2021 19:55:29 +0300 Subject: [PATCH] Fix misspelled macro name --- include/boost/type_traits/detail/config.hpp | 2 +- include/boost/type_traits/is_function.hpp | 2 +- include/boost/type_traits/is_member_function_pointer.hpp | 2 +- test/is_function_test.cpp | 4 ++-- test/is_member_func_test.cpp | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/boost/type_traits/detail/config.hpp b/include/boost/type_traits/detail/config.hpp index 8ac3b4a..924b019 100644 --- a/include/boost/type_traits/detail/config.hpp +++ b/include/boost/type_traits/detail/config.hpp @@ -83,7 +83,7 @@ // #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !BOOST_WORKAROUND(BOOST_GCC, < 40805)\ && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) -# define BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +# define BOOST_TT_HAS_ACCURATE_IS_FUNCTION #endif #if defined(_MSVC_LANG) && (_MSVC_LANG >= 201703) diff --git a/include/boost/type_traits/is_function.hpp b/include/boost/type_traits/is_function.hpp index 8556235..1518f7b 100644 --- a/include/boost/type_traits/is_function.hpp +++ b/include/boost/type_traits/is_function.hpp @@ -14,7 +14,7 @@ #include #include -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION #include diff --git a/include/boost/type_traits/is_member_function_pointer.hpp b/include/boost/type_traits/is_member_function_pointer.hpp index 9b5dbbf..dccd440 100644 --- a/include/boost/type_traits/is_member_function_pointer.hpp +++ b/include/boost/type_traits/is_member_function_pointer.hpp @@ -13,7 +13,7 @@ #include -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION #include diff --git a/test/is_function_test.cpp b/test/is_function_test.cpp index cdf436e..e2036f7 100644 --- a/test/is_function_test.cpp +++ b/test/is_function_test.cpp @@ -16,7 +16,7 @@ #pragma GCC diagnostic ignored "-Wnoexcept-type" #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION struct X { @@ -138,7 +138,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION test_cv_qual(&X::f); test_cv_qual(&X::fc); diff --git a/test/is_member_func_test.cpp b/test/is_member_func_test.cpp index ca5156a..e030483 100644 --- a/test/is_member_func_test.cpp +++ b/test/is_member_func_test.cpp @@ -16,7 +16,7 @@ #pragma GCC diagnostic ignored "-Wnoexcept-type" #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION struct tricky_members { void noexcept_proc()noexcept @@ -85,7 +85,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::valu #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION test_tricky(&tricky_members::const_ref_proc); #ifndef BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE test_tricky(&tricky_members::noexcept_proc);