Fixed incorrect preprocessor condition for ref_empty definition.

Closes https://github.com/boostorg/core/pull/137.
This commit is contained in:
Andrey Semashev
2023-01-07 01:06:41 +03:00
parent 1e84baeea3
commit 99f9654f18

View File

@ -59,7 +59,7 @@ template< class Y, class T > struct ref_convertible
enum _vt { value = sizeof( (f)( static_cast<Y*>(0) ) ) == sizeof(yes) };
};
#if !defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS)
#if defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS)
struct ref_empty
{
};