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) {
setup();
};
}
void setup(void);
void loop(void);
void use(KaleidoscopePlugin *plugin, ...) __attribute__((sentinel));

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

Loading…
Cancel
Save