Protected std::min/max calls

This commit is contained in:
Krystian Stasiowski committed 2019-11-06 19:38:50 -05:00
1 parent 0f2ac40d48
commit 7a8a158857
2 files changed
+2 -4

No files matched your search

@@ -11,7 +11,6 @@
#define BOOST_FIXED_STRING_DETAIL_FIXED_STRING_HPP
#include <boost/fixed_string/config.hpp>
#include <boost/core/ignore_unused.hpp>
#include <iterator>
#include <type_traits>
@@ -151,7 +150,6 @@ inline
CharT*
raw_to_string(CharT* last, std::size_t size, Integer i)
{
boost::ignore_unused(size);
BOOST_FIXED_STRING_ASSERT(size >= max_digits(sizeof(Integer)));
return raw_to_string<CharT, Integer, Traits>(
last, i, std::is_signed<Integer>{});