From 5e2a2722f1c6b5ff002f501bd473382d4112572c Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sat, 2 May 2020 18:18:10 +0300 Subject: [PATCH] Use BOOST_ASSERT instead of assert. --- include/boost/integer/integer_log2.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/integer/integer_log2.hpp b/include/boost/integer/integer_log2.hpp index afd1b14..ef073fd 100644 --- a/include/boost/integer/integer_log2.hpp +++ b/include/boost/integer/integer_log2.hpp @@ -15,9 +15,9 @@ #ifndef BOOST_INTEGER_INTEGER_LOG2_HPP #define BOOST_INTEGER_INTEGER_LOG2_HPP -#include #include #include +#include #if defined(BOOST_BORLANDC) #include #endif @@ -93,7 +93,7 @@ namespace boost { template int integer_log2(T x) { - assert(x > 0); + BOOST_ASSERT(x > 0); const int n = detail::max_pow2_less< detail::width :: value, 4