Skip to content

Commit 8acbd6e

Browse files
committed
Header cleanup
1 parent 2b57ace commit 8acbd6e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/ByteBuffer.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020

2121
#include "ByteBuffer.h"
2222

23-
#include <string>
23+
#ifdef BB_UTILITY
2424
#include <iostream>
25+
#include <string>
26+
#endif
2527

2628
#ifdef BB_USE_NS
2729
namespace bb {
@@ -368,8 +370,8 @@ void ByteBuffer::printPosition() const {
368370
<< wpos << std::endl;
369371
}
370372

373+
#endif // BB_UTILITY
374+
371375
#ifdef BB_USE_NS
372376
}
373377
#endif
374-
375-
#endif

src/HTTPMessage.cpp

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

1919
#include "HTTPMessage.h"
2020

21-
#include <map>
2221
#include <string>
2322
#include <sstream>
2423
#include <iostream>

src/ResourceHost.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include <unordered_map>
2424
#include <fstream>
2525
#include <dirent.h>
26-
#include <sys/types.h>
2726
#include <sys/stat.h>
2827
#include <unistd.h>
2928

0 commit comments

Comments
 (0)