From 86f4772bd6711cbd62f110644add490446a12a7d Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 28 Jan 2023 17:52:32 +0000 Subject: [PATCH] fix clang warn --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 9269dff0..41ef2cdc 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2160,7 +2160,7 @@ void CCompositor::renameWorkspace(const int& id, const std::string& name) { if (isWorkspaceSpecial(id)) return; - Debug::log(LOG, "renameWorkspace: Renaming workspace %d to '%s'", id, name); + Debug::log(LOG, "renameWorkspace: Renaming workspace %d to '%s'", id, name.c_str()); wlr_ext_workspace_handle_v1_set_name(PWORKSPACE->m_pWlrHandle, name.c_str()); PWORKSPACE->m_szName = name; }