فهرست منبع

JoltPhysics: Fix orphan StringName

Luo Zhihao 1 ماه پیش
والد
کامیت
793228f171
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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();