Skip to content

Commit

Permalink
Remove unnecessary default assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Aug 5, 2024
1 parent a318fd7 commit 5065a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElunaTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct ElunaRegister
{
const char* name;
std::variant<std::monostate, int(*)(Eluna*, T*), int(*)(Eluna*)> mfunc;
MethodRegisterState regState = METHOD_REG_ALL;
MethodRegisterState regState;

// constructor for non-globals (with T*)
ElunaRegister(const char* name, int(*func)(Eluna*, T*), MethodRegisterState state = METHOD_REG_ALL)
Expand Down

0 comments on commit 5065a65

Please sign in to comment.