Skip to content

Commit

Permalink
Small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka committed Aug 4, 2024
1 parent 1decece commit a97d5ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ InitResult CSharpLanguageModule::Initialize(std::weak_ptr<IPlugifyProvider> prov
_settings = std::move(*settings);

fs::path monoPath(module.GetBaseDir());
monoPath /= "mono";
monoPath /= "mono";

auto configPath = module.FindResource("configs/mono_config");

Expand Down
6 changes: 3 additions & 3 deletions src/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ namespace monolm {

private:
plugify::PluginRef _plugin;
MonoImage* _image{ nullptr };
MonoClass* _klass{ nullptr };
MonoObject* _instance{ nullptr };
MonoImage* _image;
MonoClass* _klass;
MonoObject* _instance;

friend class CSharpLanguageModule;
};
Expand Down

0 comments on commit a97d5ba

Please sign in to comment.