From 8bbeee11734d3ba8e2cf15d19cb3c302f8bfdbf2 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sat, 7 Dec 2024 18:51:18 +0100 Subject: core: Add clang-tidy (#8664) This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright. --- src/protocols/SecurityContext.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/protocols/SecurityContext.hpp') diff --git a/src/protocols/SecurityContext.hpp b/src/protocols/SecurityContext.hpp index 63f58bde..d675d660 100644 --- a/src/protocols/SecurityContext.hpp +++ b/src/protocols/SecurityContext.hpp @@ -38,7 +38,7 @@ class CSecurityContextManagerResource { }; class CSecurityContextSandboxedClient; -struct CSecurityContextSandboxedClientDestroyWrapper { +struct SCSecurityContextSandboxedClientDestroyWrapper { wl_listener listener; CSecurityContextSandboxedClient* parent = nullptr; }; @@ -48,9 +48,9 @@ class CSecurityContextSandboxedClient { static SP create(int clientFD); ~CSecurityContextSandboxedClient(); - void onDestroy(); + void onDestroy(); - CSecurityContextSandboxedClientDestroyWrapper destroyListener; + SCSecurityContextSandboxedClientDestroyWrapper destroyListener; private: CSecurityContextSandboxedClient(int clientFD_); -- cgit v1.2.3