aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/helpers/Monitor.cpp
diff options
context:
space:
mode:
authorIkalco <[email protected]>2024-12-18 19:56:01 -0600
committerGitHub <[email protected]>2024-12-19 02:56:01 +0100
commit5b714f05f87831e3e930af04649f853d5efb9902 (patch)
tree6a84cc910bcd00daaa94df98c6c13c6fbd6dfdbc /src/helpers/Monitor.cpp
parent7c43eed2c1e6c56ab56d1bded4a6701b5598b1c3 (diff)
downloadHyprland-5b714f05f87831e3e930af04649f853d5efb9902.tar.gz
Hyprland-5b714f05f87831e3e930af04649f853d5efb9902.zip
internal: Make static analysis more happy (#8767)
* make functions used in 1 file static * fix invalid substr param -1 * give default initializer to borderGradier * move RASSERT from printf to std::print
Diffstat (limited to 'src/helpers/Monitor.cpp')
-rw-r--r--src/helpers/Monitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp
index 8d1597be..33ec3abe 100644
--- a/src/helpers/Monitor.cpp
+++ b/src/helpers/Monitor.cpp
@@ -24,7 +24,7 @@
using namespace Hyprutils::String;
using namespace Hyprutils::Utils;
-int ratHandler(void* data) {
+static int ratHandler(void* data) {
g_pHyprRenderer->renderMonitor(((CMonitor*)data)->self.lock());
return 1;