summaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-09-27 01:02:21 -0400
committerGitHub <noreply@github.com>2024-09-27 01:02:21 -0400
commit24bc3244d4e221f4e6740f45e2bf15a1441a3076 (patch)
tree5630743b4a4a8d02fa216941e01a2cda46d61034 /libcxx/include/__algorithm
parent09cd5a86733a362f12542a11ffd834cac885eb32 (diff)
[libc++][NFC] Rename fold.h to ranges_fold.h (#109696)
This follows the pattern we use consistently for ranges algorithms.
Diffstat (limited to 'libcxx/include/__algorithm')
-rw-r--r--libcxx/include/__algorithm/ranges_fold.h (renamed from libcxx/include/__algorithm/fold.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/__algorithm/fold.h b/libcxx/include/__algorithm/ranges_fold.h
index 1bcb3be9aada..d2c392139850 100644
--- a/libcxx/include/__algorithm/fold.h
+++ b/libcxx/include/__algorithm/ranges_fold.h
@@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef _LIBCPP___ALGORITHM_FOLD_H
-#define _LIBCPP___ALGORITHM_FOLD_H
+#ifndef _LIBCPP___ALGORITHM_RANGES_FOLD_H
+#define _LIBCPP___ALGORITHM_RANGES_FOLD_H
#include <__concepts/assignable.h>
#include <__concepts/constructible.h>
@@ -126,4 +126,4 @@ _LIBCPP_END_NAMESPACE_STD
_LIBCPP_POP_MACROS
-#endif // _LIBCPP___ALGORITHM_FOLD_H
+#endif // _LIBCPP___ALGORITHM_RANGES_FOLD_H