Skip to content

Commit a5e579d

Browse files
committed
Refactor: Remove unused includes from header and source files
1 parent ee34f62 commit a5e579d

File tree

6 files changed

+1
-10
lines changed

6 files changed

+1
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ luac.out
4242
tmp
4343
build
4444
.vscode
45+
.cache

src/bundle.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <string>
55
#include <vector>
66
#include <map>
7-
#include <filesystem>
87

98
#include "path.hpp"
109
#include "localizer.hpp"

src/localizer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "Luau/Lexer.h"
1010
#include "Luau/Parser.h"
1111
#include "Luau/ParseOptions.h"
12-
#include "Luau/Common.h"
1312

1413
Location::Location(const Luau::Location& location) {
1514
this->begin_line = location.begin.line;

src/localizer.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
#ifndef LUAUMB_LOCALIZER_H
22
#define LUAUMB_LOCALIZER_H
33

4-
#include <filesystem>
5-
#include <map>
6-
74
#include "Luau/Location.h"
85
#include "Luau/ParseResult.h"
96

10-
#include "utils.hpp"
11-
127
struct Location {
138
unsigned int begin_line, begin_column, end_line, end_column;
149

src/luaumb.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "path.hpp"
1616
#include "localizer.hpp"
1717
#include "bundle.hpp"
18-
#include "utils.hpp"
1918

2019
bool fvalue_inited = false;
2120

src/utils.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include "utils.hpp"
22

3-
#include <sstream>
4-
53
#include "base64.hpp"
64

75
using namespace std;

0 commit comments

Comments
 (0)