[libc++] span: Cleanup includes
authorLouis Dionne <ldionne@apple.com>
Tue, 11 Feb 2020 10:16:40 +0000 (11:16 +0100)
committerLouis Dionne <ldionne@apple.com>
Tue, 11 Feb 2020 10:17:30 +0000 (11:17 +0100)
Thanks to Michael Schellenberger Costa for the patch.

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

libcxx/include/span

index 5d5a701f75487e62790f005c27ed34423ce8394e..119cf39baba93ddea4c95286b6c09c24621a4c63 100644 (file)
@@ -129,11 +129,10 @@ template<class Container>
 */
 
 #include <__config>
-#include <cstddef>      // for ptrdiff_t
-#include <iterator>     // for iterators
 #include <array>        // for array
-#include <type_traits>  // for remove_cv, etc
 #include <cstddef>      // for byte
+#include <iterator>     // for iterators
+#include <type_traits>  // for remove_cv, etc
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header