diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 70c54eb..a90642e 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -36,7 +36,7 @@ namespace ratgdo { typedef struct { uint64_t fixed; uint32_t data; - bool operator==(const command& a) const + bool operator==(const command a) const { return (fixed == a.fixed && data == a.data); }