Skip to content

Commit 9b4852e

Browse files
Cleanup include usage
1 parent 3cedbfa commit 9b4852e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+28
-81
lines changed

src/fast_type_gen/fast_type_gen.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "hpp_gen.h"
1010
#include "inl_gen.h"
1111
#include "cpp_gen.h"
12-
#include "mfast/coder/common/dictionary_builder.h"
1312
#include "mfast/coder/common/template_repo.h"
1413

1514
#include <stdlib.h>

src/fast_type_gen/indented_ostream.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// See the file license.txt for licensing information.
66
#pragma once
77

8-
#include <ostream>
98
#include <iomanip>
109
#include <sstream>
1110
struct indent_t {};

src/mfast/allocator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// This file is part of mFAST.
55
// See the file license.txt for licensing information.
66
#include "allocator.h"
7-
#include <new>
87
#include "allocator_utils.h"
98
#include <cstring>
109

src/mfast/allocator.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#pragma once
77

88
#include <cstddef>
9-
#include <algorithm>
109
#include "mfast/mfast_export.h"
1110
namespace mfast {
1211
/// An abstract interface for allocators.

src/mfast/arena_allocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#include "arena_allocator.h"
77
#include "allocator_utils.h"
88
#include <cstring>
9-
#include <algorithm>
109
#include <cstdlib>
10+
#include <new>
1111

1212
namespace mfast {
1313

src/mfast/arena_allocator.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// See the file license.txt for licensing information.
66
#pragma once
77

8-
#include <new>
98
#include <stdint.h>
109
#include <cassert>
1110
#include <cstddef>

src/mfast/coder/common/codec_helper.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include "../../string_ref.h"
99
#include "../../exceptions.h"
10-
#include <stdexcept>
1110

1211
namespace mfast {
1312
namespace detail {

src/mfast/coder/common/debug_stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#pragma once
77

88
#include <iostream>
9-
#include "../../output.h"
109
#ifdef NDEBUG
1110

1211
struct debug_stream {
@@ -25,6 +24,7 @@ struct debug_stream {
2524
};
2625

2726
#else
27+
#include "../../output.h"
2828

2929
class debug_stream {
3030
private:

src/mfast/coder/common/dictionary_builder.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#include "exceptions.h"
77
#include "template_repo.h"
88
#include <cstring>
9-
#include <iostream>
10-
#include <sstream>
11-
#include <stdexcept>
129

1310
namespace mfast {
1411

src/mfast/coder/common/dictionary_builder.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
#include "../mfast_coder_export.h"
1010
#include "../../field_instructions.h"
1111
#include "../../arena_allocator.h"
12-
#include <vector>
12+
#include "../../instructions/templates_description.h"
1313
#include <map>
1414
#include <string>
15-
#include <stdexcept>
1615

1716
#ifdef _MSC_VER
1817
#pragma warning(disable : 4251) // non dll-interface class used as a member for

0 commit comments

Comments
 (0)