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;