[commands] Allow BooleanSupplier for Trigger operations (#4103)

This commit is contained in:
ohowe
2022-04-24 08:20:46 -06:00
committed by GitHub
parent 9d20ab3024
commit b3aee28388
3 changed files with 22 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ class Trigger {
*
* @param isActive Whether the trigger is active.
*/
explicit Trigger(std::function<bool()> isActive)
Trigger(std::function<bool()> isActive) // NOLINT
: m_isActive{std::move(isActive)} {}
/**