Ver Fonte

JoltPhysics: Fix orphan StringName

Luo Zhihao há 1 mês atrás
pai
commit
793228f171
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      modules/jolt_physics/spaces/jolt_job_system.cpp

+ 1 - 1
modules/jolt_physics/spaces/jolt_job_system.cpp

@@ -176,7 +176,7 @@ void JoltJobSystem::post_step() {
 #ifdef DEBUG_ENABLED
 
 void JoltJobSystem::flush_timings() {
-	static const StringName profiler_name("servers");
+	const StringName profiler_name = SNAME("servers");
 
 	EngineDebugger *engine_debugger = EngineDebugger::get_singleton();