From 407aabd77bd5e1080394e5519b1061f27f2b7130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 1 Oct 2017 10:45:13 +0200 Subject: [PATCH] * Another try to fix [boostorg/container] unused parameter warning when compiling with assertions disabled (#56) --- include/boost/container/throw_exception.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/container/throw_exception.hpp b/include/boost/container/throw_exception.hpp index 5922fa5..1b6eec1 100644 --- a/include/boost/container/throw_exception.hpp +++ b/include/boost/container/throw_exception.hpp @@ -60,7 +60,7 @@ namespace container { inline void throw_out_of_range(const char* str) { const char msg[] = "boost::container out_of_range thrown"; - (void)msg; + (void)msg; (void)str; BOOST_ASSERT_MSG(!msg, str); std::abort(); } @@ -68,7 +68,7 @@ namespace container { inline void throw_length_error(const char* str) { const char msg[] = "boost::container length_error thrown"; - (void)msg; + (void)msg; (void)str; BOOST_ASSERT_MSG(!msg, str); std::abort(); } @@ -76,7 +76,7 @@ namespace container { inline void throw_logic_error(const char* str) { const char msg[] = "boost::container logic_error thrown"; - (void)msg; + (void)msg; (void)str; BOOST_ASSERT_MSG(!msg, str); std::abort(); } @@ -84,7 +84,7 @@ namespace container { inline void throw_runtime_error(const char* str) { const char msg[] = "boost::container runtime_error thrown"; - (void)msg; + (void)msg; (void)str; BOOST_ASSERT_MSG(!msg, str); std::abort(); }