mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-12-20 09:20:08 +01:00
signal: revert forward_as_tuple
cant use references as signals expect a copy/move.
This commit is contained in:
parent
8ca26cee4d
commit
c5f4f7d1ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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<RefArg<Args>...>(args...);
|
||||
|
||||
if constexpr (sizeof...(Args) == 1)
|
||||
// NOLINTNEXTLINE: const is reapplied by handler invocation if required
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue