Skip to content

Commit

Permalink
refactor: update Entry.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jan 10, 2025
1 parent 5d49738 commit cbff51b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lse/Entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
namespace lse {

class LegacyScriptEngine {
Config config; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
std::shared_ptr<PluginManager> pluginManager; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)

public:
static LegacyScriptEngine& getInstance();

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

private:
ll::mod::NativeMod& mSelf;
ll::mod::NativeMod& mSelf;
Config config; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
std::shared_ptr<PluginManager> pluginManager; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
};

} // namespace lse

0 comments on commit cbff51b

Please sign in to comment.