Michele Caini пре 1 година
родитељ
комит
b8977df86f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      test/entt/process/process.cpp

+ 1 - 1
test/entt/process/process.cpp

@@ -41,7 +41,7 @@ struct fake_process: entt::process<fake_process<Delta>, Delta> {
     }
 
     void update(typename entt::process<fake_process<Delta>, Delta>::delta_type, void *data) {
-        if(data) {
+        if(data != nullptr) {
             (*static_cast<int *>(data))++;
         }