From a1b4daa9d4b97c0afc173c8cbb737387edd7a8d4 Mon Sep 17 00:00:00 2001 From: SachinVin <26602104+SachinVin@users.noreply.github.com> Date: Mon, 6 Sep 2021 21:27:11 +0530 Subject: [PATCH] core.h: remove nodiscard for SendSignal (#5837) We use this in four places and discard the result everywhere --- src/core/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.h b/src/core/core.h index b535a60a23..ed9d3b4f19 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -122,7 +122,7 @@ public: enum class Signal : u32 { None, Shutdown, Reset, Save, Load }; - [[nodiscard]] bool SendSignal(Signal signal, u32 param = 0); + bool SendSignal(Signal signal, u32 param = 0); /// Request reset of the system void RequestReset() {