[libcxx-commits] [libcxx] [libc++] Remove unused pair.h include from hypot.h (PR #106798)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 30 14:04:45 PDT 2024


https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/106798

This was added in #100820 by mistake since the final version of that PR didn't depend on std::pair anymore.

>From 428e67c164011f3cee08fa5c36cf2fc5384ab157 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Fri, 30 Aug 2024 16:06:04 -0400
Subject: [PATCH] [libc++] Remove unused pair.h include from hypot.h

This was added in #100820 by mistake since the final version of
that PR didn't depend on std::pair anymore.
---
 libcxx/include/__math/hypot.h | 1 -
 1 file changed, 1 deletion(-)

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)



More information about the libcxx-commits mailing list