From 0e78104477c93264e6db319cd9434830c78ecccd Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 25 Jul 2024 18:17:40 -0700 Subject: [PATCH] Fix build with `profile-with-tracy` feature --- src/backend/kms/surface/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/kms/surface/mod.rs b/src/backend/kms/surface/mod.rs index 33c08be6..8b866dad 100644 --- a/src/backend/kms/surface/mod.rs +++ b/src/backend/kms/surface/mod.rs @@ -444,7 +444,7 @@ fn surface_thread( thread_receiver: Channel, startup_done: Arc, ) -> Result<()> { - profiling::register_thread!(format!("Surface Thread {}", output.name())); + profiling::register_thread!(&format!("Surface Thread {}", output.name())); let mut event_loop = EventLoop::try_new().unwrap();