[libcxx-commits] [libcxx] de462a4 - [libc++] Remove <chrono> include from <future>

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 24 01:05:59 PST 2022


Author: Nikolas Klauser
Date: 2022-02-24T10:05:51+01:00
New Revision: de462a43d32a093ae9af5f2d147277ce1ab3471e

URL: https://github.com/llvm/llvm-project/commit/de462a43d32a093ae9af5f2d147277ce1ab3471e
DIFF: https://github.com/llvm/llvm-project/commit/de462a43d32a093ae9af5f2d147277ce1ab3471e.diff

LOG: [libc++] Remove <chrono> include from <future>

Reviewed By: Quuxplusone, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D120436

Added: 
    

Modified: 
    libcxx/include/future

Removed: 
    


################################################################################
diff  --git a/libcxx/include/future b/libcxx/include/future
index fff746a93dd25..7ef62dbdea9d2 100644
--- a/libcxx/include/future
+++ b/libcxx/include/future
@@ -377,8 +377,6 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
 #include <thread>
 #include <version>
 
-#include <chrono> // TODO: Remove unused header
-
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header
 #endif


        


More information about the libcxx-commits mailing list