Skip to content

Commit 13821e4

Browse files
authored
Remove std::-headers in files not needing them (openscad#5366)
* Remove not-needed <algorithm> * Remove not-needed <array> * Remove not-needed <chrono> * Remove not-needed <ciso646> * Remove not-needed <cstdint> * Remove not-needed <forward_list> * Remove not-needed <fstream> * Remove not-needed <functional> * Remove not-needed <iomanip> * Remove not-needed <iostream> * Remove not-needed <iterator> * Remove not-needed <limits> * Remove not-needed <list> * Remove not-needed <locale> * Remove not-needed <map> * Remove not-needed <memory> * Remove not-needed <numeric> * Remove not-needed <ostream> * Remove not-needed <queue> * Remove not-needed <set> * Remove not-needed <sstream> * Remove not-needed <stack> * Remove not-needed <streambuf> * Remove not-needed <string> * Remove not-needed <thread> * Remove not-needed <tuple> * Remove not-needed <unordered_set> * Remove not-needed <utility> * Remove not-needed <variant> * Remove not-needed <vector> * Add <map> include to the windows platform utils as it was missing that.
1 parent 19a4d67 commit 13821e4

Some content is hidden

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

70 files changed

+1
-91
lines changed

src/Feature.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#include "Feature.h"
22

33
#include <cstdio>
4-
#include <iostream>
5-
#include <sstream>
64
#include <string>
7-
#include <map>
85
#include <boost/algorithm/string/join.hpp>
96
#include <boost/range/adaptor/transformed.hpp>
107
#include <utility>

src/Feature.h

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

33
#include <cstdio>
4-
#include <iostream>
54
#include <string>
65
#include <map>
76
#include <vector>

src/FontCache.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include <cstdint>
3030
#include <map>
3131
#include <string>
32-
#include <iostream>
3332

3433
#include <ctime>
3534

src/core/Assignment.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include "core/customizer/Annotation.h"
2929
#include "core/Expression.h"
3030
#include <ostream>
31-
#include <sstream>
3231
#include <string>
3332

3433
void Assignment::addAnnotations(AnnotationList *annotations)

src/core/BaseVisitable.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#pragma once
22

3-
#include <iostream>
43

54
// FIXME: Default constructor Response()
65
enum class Response {ContinueTraversal, AbortTraversal, PruneTraversal};

src/core/BuiltinContext.h

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

33
#include <string>
4-
#include <memory>
54

65
#include "core/Context.h"
76

src/core/ColorNode.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
#include <memory>
3737
#include <cctype>
3838
#include <cstddef>
39-
#include <sstream>
4039
#include <string>
4140
#include <iterator>
4241
#include <unordered_map>

src/core/CsgOpNode.cc

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

3535
#include <utility>
3636
#include <memory>
37-
#include <sstream>
3837
#include <string>
3938
#include <cassert>
4039

src/core/DrawingCallback.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
#include "core/DrawingCallback.h"
2727

2828
#include <memory>
29-
#include <algorithm>
3029
#include <cmath>
31-
#include <iostream>
3230
#include <vector>
3331

3432
#include "geometry/Polygon2d.h"

src/core/Expression.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include <sstream>
3939
#include <algorithm>
4040
#include <typeinfo>
41-
#include <forward_list>
4241
#include <utility>
4342
#include <variant>
4443
#include "utils/printutils.h"

0 commit comments

Comments
 (0)