From cd318cb388a625cd60d95fba4c5bfe0fc71e4f28 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 15:21:16 -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 1f9718a..bda7ee6 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!=(const cmd& cmd) const + inline bool operator!=(cmd const &other) const { - return (fixed != cmd.fixed || data != cmd.data); + return (fixed != other.fixed || data != other.data); } } cmd;