diff --git a/include/boost/optional/detail/optional_config.hpp b/include/boost/optional/detail/optional_config.hpp index bc6f32f6..bb7e12f9 100644 --- a/include/boost/optional/detail/optional_config.hpp +++ b/include/boost/optional/detail/optional_config.hpp @@ -127,8 +127,8 @@ #endif -#ifdef BOOST_OPTIONAL_CONFIG_NO_DIRECT_STORAE_SPEC -# define BOOST_OPTIONAL_DETAIL_NO_DIRECT_STORAE_SPEC +#ifdef BOOST_OPTIONAL_CONFIG_NO_DIRECT_STORAGE_SPEC +# define BOOST_OPTIONAL_DETAIL_NO_DIRECT_STORAGE_SPEC #endif diff --git a/include/boost/optional/optional.hpp b/include/boost/optional/optional.hpp index 835dc1dc..c0f10e1d 100644 --- a/include/boost/optional/optional.hpp +++ b/include/boost/optional/optional.hpp @@ -816,7 +816,7 @@ struct optional_uses_direct_storage_for } // namespace optional_config -#ifndef BOOST_OPTIONAL_DETAIL_NO_DIRECT_STORAE_SPEC +#ifndef BOOST_OPTIONAL_DETAIL_NO_DIRECT_STORAGE_SPEC # define BOOST_OPTIONAL_BASE_TYPE(T) boost::conditional< optional_config::optional_uses_direct_storage_for::value, \ optional_detail::tc_optional_base, \ optional_detail::optional_base \