added tests
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Input
|
||||
class Event
|
||||
{
|
||||
public:
|
||||
Event(char address, char priority, std::string name);
|
||||
Event(char address, int priority, std::string name);
|
||||
bool operator==(const Event& other);
|
||||
friend bool operator<(const Event& left, const Event& right)
|
||||
{
|
||||
@@ -30,7 +30,7 @@ private:
|
||||
char address;
|
||||
|
||||
public:
|
||||
char priority;
|
||||
int priority;
|
||||
std::string name;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user