Skip to content

Commit a428a4a

Browse files
committed
Header cleanup
1 parent f6188a0 commit a428a4a

File tree

7 files changed

+6
-10
lines changed

7 files changed

+6
-10
lines changed

include/cpp-sort/detail/boost_common/range.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
#ifndef CPPSORT_DETAIL_BOOST_COMMON_RANGE_H_
2020
#define CPPSORT_DETAIL_BOOST_COMMON_RANGE_H_
2121

22-
#include <functional>
2322
#include <iterator>
24-
#include <memory>
25-
#include <vector>
2623
#include "util/merge.h"
2724
#include "../config.h"
2825
#include "../iterator_traits.h"

include/cpp-sort/detail/boost_common/util/merge.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@
1919
#ifndef CPPSORT_DETAIL_BOOST_COMMON_UTIL_MERGE_H_
2020
#define CPPSORT_DETAIL_BOOST_COMMON_UTIL_MERGE_H_
2121

22-
#include <algorithm>
23-
#include <functional>
22+
#include <cstddef>
2423
#include <iterator>
25-
#include <memory>
26-
#include <type_traits>
2724
#include <cpp-sort/utility/as_function.h>
2825
#include "../../buffered_inplace_merge.h"
2926
#include "../../config.h"

include/cpp-sort/detail/is_p_sorted.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
////////////////////////////////////////////////////////////
99
// Headers
1010
////////////////////////////////////////////////////////////
11+
#include <iterator>
1112
#include <cpp-sort/utility/as_function.h>
12-
#include "iterator_traits.h"
1313

1414
namespace cppsort::detail
1515
{

include/cpp-sort/detail/melsort.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
////////////////////////////////////////////////////////////
99
// Headers
1010
////////////////////////////////////////////////////////////
11+
#include <algorithm>
1112
#include <cmath>
1213
#include <iterator>
1314
#include <vector>
15+
#include <utility>
1416
#include <cpp-sort/comparators/flip.h>
1517
#include <cpp-sort/utility/as_function.h>
1618
#include <cpp-sort/utility/iter_move.h>

include/cpp-sort/detail/recmerge_forward.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
////////////////////////////////////////////////////////////
2626
// Headers
2727
////////////////////////////////////////////////////////////
28+
#include <cstddef>
2829
#include <iterator>
2930
#include <memory>
3031
#include <utility>

include/cpp-sort/detail/spinsort.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef CPPSORT_DETAIL_SPINSORT_H_
2020
#define CPPSORT_DETAIL_SPINSORT_H_
2121

22-
#include <cstddef>
22+
#include <iterator>
2323
#include <memory>
2424
#include <new>
2525
#include <type_traits>

include/cpp-sort/detail/timsort.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include <iterator>
3939
#include <memory>
4040
#include <new>
41-
#include <type_traits>
4241
#include <utility>
4342
#include <vector>
4443
#include <cpp-sort/utility/as_function.h>

0 commit comments

Comments
 (0)