[libcxx-commits] [libcxx] [libc++] Remove unused pair.h include from hypot.h (PR #106798)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 30 14:05:21 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Louis Dionne (ldionne)
<details>
<summary>Changes</summary>
This was added in #<!-- -->100820 by mistake since the final version of that PR didn't depend on std::pair anymore.
---
Full diff: https://github.com/llvm/llvm-project/pull/106798.diff
1 Files Affected:
- (modified) libcxx/include/__math/hypot.h (-1)
``````````diff
diff --git a/libcxx/include/__math/hypot.h b/libcxx/include/__math/hypot.h
index b992163711010a..2c2c9c38ab5302 100644
--- a/libcxx/include/__math/hypot.h
+++ b/libcxx/include/__math/hypot.h
@@ -18,7 +18,6 @@
#include <__type_traits/is_arithmetic.h>
#include <__type_traits/is_same.h>
#include <__type_traits/promote.h>
-#include <__utility/pair.h>
#include <limits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
``````````
</details>
https://github.com/llvm/llvm-project/pull/106798
More information about the libcxx-commits
mailing list