Skip to content

Commit

Permalink
core: Replace a static_cast with a functional-style cast
Browse files Browse the repository at this point in the history
  • Loading branch information
caseif committed Jul 14, 2024
1 parent 2079e07 commit c237e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/static/core/src/cabi/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void argus_initialize_engine(void) {
}

LifecycleStage argus_get_current_lifecycle_stage(void) {
return static_cast<LifecycleStage>(argus::get_current_lifecycle_stage());
return LifecycleStage(argus::get_current_lifecycle_stage());
}

Index argus_register_update_callback(delta_callback_t update_callback, Ordering ordering) {
Expand Down

0 comments on commit c237e65

Please sign in to comment.