Skip to content

Commit

Permalink
Delegate to default constructor from parameterized constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
hax0kartik committed Jun 5, 2023
1 parent c68a1ee commit 563eecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/crab/event/gameevent.h
Expand Up @@ -85,7 +85,7 @@ struct GameEvent {
Common::Array<EventID> next;

GameEvent();
GameEvent(rapidxml::xml_node<char> *node) { Load(node); }
GameEvent(rapidxml::xml_node<char> *node) : GameEvent() { Load(node); }
~GameEvent() {}

void Load(rapidxml::xml_node<char> *node);
Expand Down

0 comments on commit 563eecb

Please sign in to comment.