From c237e65b4202852a687b7092a9ae60af0d7a4033 Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Sat, 13 Jul 2024 22:59:08 -0400 Subject: [PATCH] core: Replace a static_cast with a functional-style cast --- engine/static/core/src/cabi/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/static/core/src/cabi/engine.cpp b/engine/static/core/src/cabi/engine.cpp index b93579df..9f18daaa 100644 --- a/engine/static/core/src/cabi/engine.cpp +++ b/engine/static/core/src/cabi/engine.cpp @@ -42,7 +42,7 @@ void argus_initialize_engine(void) { } LifecycleStage argus_get_current_lifecycle_stage(void) { - return static_cast(argus::get_current_lifecycle_stage()); + return LifecycleStage(argus::get_current_lifecycle_stage()); } Index argus_register_update_callback(delta_callback_t update_callback, Ordering ordering) {