From c5f4f7d1aeb705f52166107c5f0cd16bf95d1fc7 Mon Sep 17 00:00:00 2001 From: Tom Englund Date: Sat, 20 Dec 2025 02:10:49 +0100 Subject: [PATCH] signal: revert forward_as_tuple cant use references as signals expect a copy/move. --- include/hyprutils/signal/Signal.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hyprutils/signal/Signal.hpp b/include/hyprutils/signal/Signal.hpp index d7f9fa8..6062810 100644 --- a/include/hyprutils/signal/Signal.hpp +++ b/include/hyprutils/signal/Signal.hpp @@ -36,7 +36,7 @@ namespace Hyprutils { if constexpr (sizeof...(Args) == 0) emitInternal(nullptr); else { - auto argsTuple = std::forward_as_tuple(args...); + auto argsTuple = std::tuple...>(args...); if constexpr (sizeof...(Args) == 1) // NOLINTNEXTLINE: const is reapplied by handler invocation if required