From 8f6454182381b15ad414c5d0317310eed4e0e691 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 15:18:51 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 53f2880..5cd5ef1 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -36,9 +36,9 @@ namespace ratgdo { typedef struct { uint64_t fixed; uint32_t data; - inline bool operator!=(command a) + inline bool operator!=(const command& cmd) const { - return (fixed != a.fixed || data != a.data); + return (fixed != cmd.fixed || data != cmd.data); } } command;