boostorg / ptr_container

Boost.org ptr_container module
http://boost.org/libs/ptr_container
Boost Software License 1.0
13 stars 41 forks source link

Fix gcc warning with -Wextra. #6

Closed Romain-Geissler-1A closed 6 years ago

Romain-Geissler-1A commented 8 years ago

Hi, gcc is emitting a warning in the file map_iterator.hpp when using -Wextra:

include/boost/ptr_container/detail/map_iterator.hpp:52:48: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] const ref_pair* const operator->() const ^

Indeed const on the pointer itself is not needed.

Ok for the trunk ?

Cheers, Romain

Romain-Geissler-1A commented 8 years ago

Ping.

Romain-Geissler-1A commented 8 years ago

Hi,

Is this boost library still maintained ? I see almost no activity in the git history, and trivial patch aren't reviewed.

Cheers, Romain

Romain-Geissler-1A commented 7 years ago

Ping.