Skip to content

Commit 412fe1f

Browse files
committed
fix
1 parent e6f6317 commit 412fe1f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sources/libengine/keybinds.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,8 +644,6 @@ namespace cage
644644
[](const auto &a) -> String
645645
{
646646
using T = std::decay_t<decltype(a)>;
647-
//if constexpr (std::is_same_v<T, std::monostate>)
648-
// return "";
649647
if constexpr (std::is_same_v<T, KeyboardMatcher>)
650648
return Stringizer() + "key " + a.key + " " + (uint32)a.requiredFlags + " " + (uint32)~a.forbiddenFlags;
651649
if constexpr (std::is_same_v<T, ModifiersMatcher>)
@@ -654,6 +652,7 @@ namespace cage
654652
return Stringizer() + "mouse " + (uint32)a.button + " " + (uint32)a.requiredFlags + " " + (uint32)~a.forbiddenFlags;
655653
if constexpr (std::is_same_v<T, WheelMatcher>)
656654
return Stringizer() + "wheel " + a.direction + " " + (uint32)a.requiredFlags + " " + (uint32)~a.forbiddenFlags;
655+
return "";
657656
},
658657
mt);
659658
}

0 commit comments

Comments
 (0)