From bbd3a99dcaa724585d3f7061083bceea3bedbc71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 19 Jan 2023 06:30:18 +0100 Subject: [PATCH] Avoid std::size_t since no include is present --- include/boost/move/detail/workaround.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/move/detail/workaround.hpp b/include/boost/move/detail/workaround.hpp index 18aeda5..1ca5c1d 100644 --- a/include/boost/move/detail/workaround.hpp +++ b/include/boost/move/detail/workaround.hpp @@ -119,13 +119,13 @@ struct STATIC_ASSERTION_FAILURE; template<> struct STATIC_ASSERTION_FAILURE{}; -template struct static_assert_test {}; +template struct static_assert_test {}; }} #define BOOST_MOVE_STATIC_ASSERT(B) \ typedef ::boost::move_detail::static_assert_test<\ - sizeof(::boost::move_detail::STATIC_ASSERTION_FAILURE)>\ + (unsigned)sizeof(::boost::move_detail::STATIC_ASSERTION_FAILURE)>\ BOOST_JOIN(boost_static_assert_typedef_, __LINE__) BOOST_ATTRIBUTE_UNUSED #endif