[libcxx-commits] [libcxx] ab34bdd - [libc++] Fix include order in <optional>
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 9 13:35:49 PST 2023
Author: Nikolas Klauser
Date: 2023-03-09T22:35:40+01:00
New Revision: ab34bdd25a4d5cd5c7262dae82868fa4f294aea7
URL: https://github.com/llvm/llvm-project/commit/ab34bdd25a4d5cd5c7262dae82868fa4f294aea7
DIFF: https://github.com/llvm/llvm-project/commit/ab34bdd25a4d5cd5c7262dae82868fa4f294aea7.diff
LOG: [libc++] Fix include order in <optional>
Added:
Modified:
libcxx/include/optional
Removed:
################################################################################
diff --git a/libcxx/include/optional b/libcxx/include/optional
index eeb7ba73d9981..e548c47268611 100644
--- a/libcxx/include/optional
+++ b/libcxx/include/optional
@@ -167,13 +167,13 @@ template<class T>
#include <__functional/unary_function.h>
#include <__memory/construct_at.h>
#include <__tuple_dir/sfinae_helpers.h>
+#include <__type_traits/conjunction.h>
+#include <__type_traits/disjunction.h>
#include <__type_traits/is_trivially_copy_assignable.h>
#include <__type_traits/is_trivially_copy_constructible.h>
#include <__type_traits/is_trivially_destructible.h>
#include <__type_traits/is_trivially_move_assignable.h>
#include <__type_traits/is_trivially_move_constructible.h>
-#include <__type_traits/conjunction.h>
-#include <__type_traits/disjunction.h>
#include <__type_traits/negation.h>
#include <__utility/declval.h>
#include <__utility/forward.h>
More information about the libcxx-commits
mailing list