Michele Caini 1 год назад
Родитель
Сommit
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))++;
         }