Skip to content

Commit de2e02f

Browse files
committed
oss-fuzz/main.cpp: cleaned up includes based on include-what-you-use
1 parent 9e63648 commit de2e02f

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

oss-fuzz/main.cpp

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,23 @@
1818

1919
#include "cppcheck.h"
2020
#include "errorlogger.h"
21+
#include "errortypes.h"
2122
#include "filesettings.h"
22-
#include "type2.h"
23+
#include "settings.h"
24+
25+
#include <string>
26+
27+
#ifndef NO_FUZZ
28+
#include <cstddef>
29+
#include <cstdint>
2330

24-
#ifdef NO_FUZZ
31+
#include "type2.h"
32+
#else
2533
#include <cstdlib>
2634
#include <fstream>
2735
#include <sstream>
2836
#endif
2937

30-
enum class Color : std::uint8_t;
31-
3238
class DummyErrorLogger : public ErrorLogger {
3339
public:
3440
void reportOut(const std::string& /*outmsg*/, Color /*c*/) override {}

0 commit comments

Comments
 (0)