From 46358792e0dd75a5e41b71102ed5bac2c161f571 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Wed, 4 May 2022 11:09:55 +0200 Subject: [PATCH] fix(build): Changes in inotify module --- src/modules/battery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/battery.cpp b/src/modules/battery.cpp index ea7aa13e..2c262287 100644 --- a/src/modules/battery.cpp +++ b/src/modules/battery.cpp @@ -199,7 +199,7 @@ namespace modules { if (chrono::duration_cast(now - m_lastpoll) > m_interval) { m_lastpoll = now; m_log.info("%s: Polling values (inotify fallback)", name()); - on_event(nullptr); + on_event({}); } }