Skip to content

Commit 981d8d5

Browse files
committed
tests: Remove unnecessary includes.
Found by Jetbrains CLion.
1 parent c415729 commit 981d8d5

31 files changed

+0
-93
lines changed

tests/test_accum_iter.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
#include "testutilities.h"
66
#include <sigc++/sigc++.h>
7-
#include <sstream>
87
#include <algorithm>
9-
#include <functional>
10-
#include <cstdlib>
118

129
namespace
1310
{

tests/test_accumulated.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
#include "testutilities.h"
66
#include <sigc++/trackable.h>
77
#include <sigc++/signal.h>
8-
#include <sigc++/functors/ptr_fun.h>
9-
#include <sigc++/functors/mem_fun.h>
10-
#include <sstream>
118
#include <iomanip>
129
#include <vector>
13-
#include <cstdlib>
1410

1511
namespace
1612
{

tests/test_bind.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
#include "testutilities.h"
66
#include <sigc++/adaptors/bind.h>
77
#include <sigc++/functors/slot.h>
8-
#include <sstream>
9-
#include <string>
10-
#include <functional> //For std::ref().
11-
#include <cstdlib>
128

139
namespace
1410
{

tests/test_bind_as_slot.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
#include "testutilities.h"
66
#include <sigc++/adaptors/bind.h>
77
#include <sigc++/functors/slot.h>
8-
#include <sstream>
9-
#include <string>
10-
#include <functional> //For std::ref().
11-
#include <cstdlib>
128

139
namespace
1410
{

tests/test_bind_ref.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
#include "testutilities.h"
66
#include <sigc++/sigc++.h>
7-
#include <sstream>
8-
#include <string>
9-
#include <functional> //For std::ref().
10-
#include <cstdlib>
117

128
namespace
139
{

tests/test_bind_refptr.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
#include "testutilities.h"
2626
#include <sigc++/sigc++.h>
27-
#include <sstream>
28-
#include <cstdlib>
2927

3028
#define ACTIVATE_BUG 1
3129

tests/test_bind_return.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
#include "testutilities.h"
66
#include <sigc++/adaptors/bind_return.h>
77
#include <sigc++/functors/slot.h>
8-
#include <sstream>
9-
#include <string>
10-
#include <functional> //For std::ref().
11-
#include <cstdlib>
128

139
namespace
1410
{

tests/test_compose.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
#include "testutilities.h"
66
#include <sigc++/adaptors/compose.h>
7-
#include <sstream>
8-
#include <cstdlib>
97

108
namespace
119
{

tests/test_copy_invalid_slot.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
*/
44

55
#include "testutilities.h"
6-
#include <sstream>
7-
#include <cstdlib>
86
#include <sigc++/sigc++.h>
9-
#include <stdlib.h>
107
#include <string.h>
11-
#include <functional> //For std::ref().
128

139
namespace
1410
{

tests/test_cpp11_lambda.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,8 @@
4343
// If test_cpp11_lambda writes nothing and the return code is 0, the test has passed.
4444

4545
#include "testutilities.h"
46-
#include <string>
4746
#include <iostream>
48-
#include <sstream>
4947
#include <functional>
50-
#include <cstdlib>
5148
#include <sigc++/functors/functors.h>
5249
#include <sigc++/bind.h>
5350
#include <sigc++/adaptors/track_obj.h>

0 commit comments

Comments
 (0)