From 60fe74a025dbbd325954dfe628520763470ecf6a Mon Sep 17 00:00:00 2001 From: Braden Ganetsky Date: Fri, 27 Sep 2024 22:36:12 -0500 Subject: [PATCH] Fix shadowing warning --- include/boost/interprocess/detail/segment_manager_helper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/interprocess/detail/segment_manager_helper.hpp b/include/boost/interprocess/detail/segment_manager_helper.hpp index b7f8d309..a7d0008f 100644 --- a/include/boost/interprocess/detail/segment_manager_helper.hpp +++ b/include/boost/interprocess/detail/segment_manager_helper.hpp @@ -410,8 +410,8 @@ struct intrusive_compare_key { typedef CharT char_type; - intrusive_compare_key(const CharT* str, std::size_t len) - : mp_str(str), m_len(len) + intrusive_compare_key(const CharT* str_, std::size_t len_) + : mp_str(str_), m_len(len_) {} const CharT* str() const