From 14302eadf6aa1ce26e04ccbd5d8391ac8d74642d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 8 Dec 2019 21:13:58 +0200 Subject: [PATCH] Rename parameters to placate -Wshadow on g++ 4.x --- include/boost/assert/source_location.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/assert/source_location.hpp b/include/boost/assert/source_location.hpp index 5d9701b..422f668 100644 --- a/include/boost/assert/source_location.hpp +++ b/include/boost/assert/source_location.hpp @@ -29,7 +29,7 @@ public: { } - BOOST_CONSTEXPR source_location( char const * file, boost::uint_least32_t line, char const * function, boost::uint_least32_t column = 0 ) BOOST_NOEXCEPT: file_( file ), function_( function ), line_( line ), column_( column ) + BOOST_CONSTEXPR source_location( char const * file, boost::uint_least32_t ln, char const * function, boost::uint_least32_t col = 0 ) BOOST_NOEXCEPT: file_( file ), function_( function ), line_( ln ), column_( col ) { }