summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/include/profile/map.h10
-rw-r--r--libstdc++-v3/include/profile/multimap.h10
-rw-r--r--libstdc++-v3/include/profile/multiset.h10
-rw-r--r--libstdc++-v3/include/profile/set.h10
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)));
}
};