summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/profile/multiset.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/profile/multiset.h')
-rw-r--r--libstdc++-v3/include/profile/multiset.h10
1 files changed, 5 insertions, 5 deletions
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)));
}
};