Browse Source

Merge pull request #110329 from beicause/jolt-orphan-string-name

JoltPhysics: Fix orphan StringName
Thaddeus Crews 1 month ago
parent
commit
00699ec29e
1 changed files with 1 additions and 1 deletions
  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
 #ifdef DEBUG_ENABLED
 
 
 void JoltJobSystem::flush_timings() {
 void JoltJobSystem::flush_timings() {
-	static const StringName profiler_name("servers");
+	const StringName profiler_name = SNAME("servers");
 
 
 	EngineDebugger *engine_debugger = EngineDebugger::get_singleton();
 	EngineDebugger *engine_debugger = EngineDebugger::get_singleton();