[llvm-branch-commits] [libcxx] release/19.x: [libc++] Add missing include to three_way_comp_ref_type.h (PR #106265)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Aug 27 11:32:30 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 0df78123fdaed39d5135c2e4f4628f515e6d549d

Requested by: @<!-- -->ldionne

---
Full diff: https://github.com/llvm/llvm-project/pull/106265.diff


1 Files Affected:

- (modified) libcxx/include/__algorithm/three_way_comp_ref_type.h (+1) 


``````````diff
diff --git a/libcxx/include/__algorithm/three_way_comp_ref_type.h b/libcxx/include/__algorithm/three_way_comp_ref_type.h
index 70c5818976f075..5702a1fee08262 100644
--- a/libcxx/include/__algorithm/three_way_comp_ref_type.h
+++ b/libcxx/include/__algorithm/three_way_comp_ref_type.h
@@ -9,6 +9,7 @@
 #ifndef _LIBCPP___ALGORITHM_THREE_WAY_COMP_REF_TYPE_H
 #define _LIBCPP___ALGORITHM_THREE_WAY_COMP_REF_TYPE_H
 
+#include <__assert>
 #include <__compare/ordering.h>
 #include <__config>
 #include <__utility/declval.h>

``````````

</details>


https://github.com/llvm/llvm-project/pull/106265


More information about the llvm-branch-commits mailing list