From b8977df86fa32fa32b6e642e98ea423b4dc55e63 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 8 Oct 2024 17:07:35 +0200 Subject: [PATCH] test: explicit checks --- test/entt/process/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/entt/process/process.cpp b/test/entt/process/process.cpp index 3ad5726da..92870ba07 100644 --- a/test/entt/process/process.cpp +++ b/test/entt/process/process.cpp @@ -41,7 +41,7 @@ struct fake_process: entt::process, Delta> { } void update(typename entt::process, Delta>::delta_type, void *data) { - if(data) { + if(data != nullptr) { (*static_cast(data))++; }