Skip to content

Commit cbff51b

Browse files
committed
refactor: update Entry.h
1 parent 5d49738 commit cbff51b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lse/Entry.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
namespace lse {
88

99
class LegacyScriptEngine {
10-
Config config; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
11-
std::shared_ptr<PluginManager> pluginManager; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
12-
1310
public:
1411
static LegacyScriptEngine& getInstance();
1512

@@ -30,7 +27,9 @@ class LegacyScriptEngine {
3027
// bool unload();
3128

3229
private:
33-
ll::mod::NativeMod& mSelf;
30+
ll::mod::NativeMod& mSelf;
31+
Config config; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
32+
std::shared_ptr<PluginManager> pluginManager; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
3433
};
3534

3635
} // namespace lse

0 commit comments

Comments
 (0)