remove a bunch of semicolons that the linter says are superfluous

pull/135/head
Jesse Vincent 8 years ago
parent 02b144cff3
commit e57cfbc0db
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -62,7 +62,7 @@ class Kaleidoscope_ {
void setup(const byte keymap_count) { void setup(const byte keymap_count) {
setup(); setup();
}; }
void setup(void); void setup(void);
void loop(void); void loop(void);
void use(KaleidoscopePlugin *plugin, ...) __attribute__((sentinel)); void use(KaleidoscopePlugin *plugin, ...) __attribute__((sentinel));

@ -20,41 +20,41 @@ typedef union Key_ {
inline bool operator==(uint16_t rhs) { inline bool operator==(uint16_t rhs) {
return this->raw == rhs; return this->raw == rhs;
}; }
inline bool operator==(const Key_ rhs) { inline bool operator==(const Key_ rhs) {
return this->raw == rhs.raw; return this->raw == rhs.raw;
}; }
inline Key_& operator=(uint16_t raw) { inline Key_& operator=(uint16_t raw) {
this->raw = raw; this->raw = raw;
return *this; return *this;
}; }
inline bool operator!=(const Key_& rhs) { inline bool operator!=(const Key_& rhs) {
return !(*this == rhs); return !(*this == rhs);
}; }
inline bool operator>=(uint16_t raw) { inline bool operator>=(uint16_t raw) {
return this->raw >= raw; return this->raw >= raw;
}; }
inline bool operator<=(uint16_t raw) { inline bool operator<=(uint16_t raw) {
return this->raw <= raw; return this->raw <= raw;
}; }
inline bool operator>(uint16_t raw) { inline bool operator>(uint16_t raw) {
return this->raw > raw; return this->raw > raw;
}; }
inline bool operator<(uint16_t raw) { inline bool operator<(uint16_t raw) {
return this->raw < raw; return this->raw < raw;
}; }
inline bool operator>=(const Key_& other) { inline bool operator>=(const Key_& other) {
return this->raw >= other.raw; return this->raw >= other.raw;
}; }
inline bool operator<=(const Key_& other) { inline bool operator<=(const Key_& other) {
return this->raw <= other.raw; return this->raw <= other.raw;
}; }
inline bool operator>(const Key_& other) { inline bool operator>(const Key_& other) {
return this->raw > other.raw; return this->raw > other.raw;
}; }
inline bool operator<(const Key_& other) { inline bool operator<(const Key_& other) {
return this->raw < other.raw; return this->raw < other.raw;
}; }
} Key; } Key;

Loading…
Cancel
Save