From 5a2b79e24dad088bf1fd07759ad75c83e67d641e Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sun, 25 May 2014 08:38:01 +0000 Subject: [PATCH] map.h: Fix typo in comment; minor formatting fix. 2014-05-25 Paolo Carlini * include/profile/map.h: Fix typo in comment; minor formatting fix. * include/profile/multimap.h: Likewise. * include/profile/set.h: Likewise. * include/profile/multiset.h: Likewise. From-SVN: r210912 --- libstdc++-v3/include/profile/map.h | 10 +++++----- libstdc++-v3/include/profile/multimap.h | 10 +++++----- libstdc++-v3/include/profile/multiset.h | 10 +++++----- libstdc++-v3/include/profile/set.h | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/libstdc++-v3/include/profile/map.h b/libstdc++-v3/include/profile/map.h index 88a560775ba..cc0f5bb05dc 100644 --- a/libstdc++-v3/include/profile/map.h +++ b/libstdc++-v3/include/profile/map.h @@ -451,15 +451,15 @@ namespace __profile * operations have equivalent insertion cost so we do not update metrics * about it. * Note that to find out if hint has been used is libstdc++ - * implementation dependant. + * implementation dependent. */ bool _M_hint_used(const_iterator __hint, iterator __res) { - return (__hint == __res || - (__hint == this->end() && ++__res == this->end()) || - (__hint != this->end() && (++__hint == __res || - ++__res == --__hint))); + return (__hint == __res + || (__hint == this->end() && ++__res == this->end()) + || (__hint != this->end() && (++__hint == __res + || ++__res == --__hint))); } }; diff --git a/libstdc++-v3/include/profile/multimap.h b/libstdc++-v3/include/profile/multimap.h index 0605d61d806..3d25b6e56a6 100644 --- a/libstdc++-v3/include/profile/multimap.h +++ b/libstdc++-v3/include/profile/multimap.h @@ -419,15 +419,15 @@ namespace __profile * operations have equivalent insertion cost so we do not update metrics * about it. * Note that to find out if hint has been used is libstdc++ - * implementation dependant. + * implementation dependent. */ bool _M_hint_used(const_iterator __hint, iterator __res) { - return (__hint == __res || - (__hint == this->end() && ++__res == this->end()) || - (__hint != this->end() && (++__hint == __res || - ++__res == --__hint))); + return (__hint == __res + || (__hint == this->end() && ++__res == this->end()) + || (__hint != this->end() && (++__hint == __res + || ++__res == --__hint))); } }; diff --git a/libstdc++-v3/include/profile/multiset.h b/libstdc++-v3/include/profile/multiset.h index 63b9e80a5ee..25011097c51 100644 --- a/libstdc++-v3/include/profile/multiset.h +++ b/libstdc++-v3/include/profile/multiset.h @@ -413,15 +413,15 @@ namespace __profile * operations have equivalent insertion cost so we do not update metrics * about it. * Note that to find out if hint has been used is libstdc++ - * implementation dependant. + * implementation dependent. */ bool _M_hint_used(const_iterator __hint, iterator __res) { - return (__hint == __res || - (__hint == this->end() && ++__res == this->end()) || - (__hint != this->end() && (++__hint == __res || - ++__res == --__hint))); + return (__hint == __res + || (__hint == this->end() && ++__res == this->end()) + || (__hint != this->end() && (++__hint == __res + || ++__res == --__hint))); } }; diff --git a/libstdc++-v3/include/profile/set.h b/libstdc++-v3/include/profile/set.h index ced035041a8..e8275a4cc6d 100644 --- a/libstdc++-v3/include/profile/set.h +++ b/libstdc++-v3/include/profile/set.h @@ -399,15 +399,15 @@ namespace __profile * operations have equivalent insertion cost so we do not update metrics * about it. * Note that to find out if hint has been used is libstdc++ - * implementation dependant. + * implementation dependent. */ bool _M_hint_used(const_iterator __hint, iterator __res) { - return (__hint == __res || - (__hint == this->end() && ++__res == this->end()) || - (__hint != this->end() && (++__hint == __res || - ++__res == --__hint))); + return (__hint == __res + || (__hint == this->end() && ++__res == this->end()) + || (__hint != this->end() && (++__hint == __res + || ++__res == --__hint))); } };