summaryrefslogtreecommitdiffstats
path: root/util/generic/algorithm.h
diff options
context:
space:
mode:
authordmasloff <[email protected]>2024-09-05 20:05:47 +0300
committerdmasloff <[email protected]>2024-09-05 20:17:10 +0300
commit74184a40c15dc0649a769d9754d0ce7efb44db04 (patch)
tree433c12d17fec8928522e31fede6afb88e0b8f41c /util/generic/algorithm.h
parentdb4754b956955532cb1ad5fd119d5d199b790a0e (diff)
FixNamespaceComments in /util
FixNamespaceComments in /util bb9152570d7c258798644ead5a59f604de05ef3b
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r--util/generic/algorithm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h
index 8958dd225f2..a770ab3033c 100644
--- a/util/generic/algorithm.h
+++ b/util/generic/algorithm.h
@@ -31,7 +31,7 @@ namespace NPrivate {
return bestPos;
}
-}
+} // namespace NPrivate
template <class T>
constexpr void Sort(T f, T l) {
@@ -585,7 +585,7 @@ namespace NPrivate {
::ApplyToMany(std::forward<TOp>(op), std::get<Is>(std::forward<T>(t))...);
#endif
}
-}
+} // namespace NPrivate
// check that TOp return true for all of element from tuple T
template <class T, class TOp>
@@ -723,7 +723,7 @@ namespace NPrivate {
constexpr TForwardIterator AdjacentFindBy(TForwardIterator begin, TForwardIterator end, const TGetKey& getKey) {
return std::adjacent_find(begin, end, [&](auto&& left, auto&& right) { return getKey(left) == getKey(right); });
}
-}
+} // namespace NPrivate
template <class TContainer, class TGetKey>
constexpr auto AdjacentFindBy(TContainer&& c, const TGetKey& getKey) {