fix: Player constructor

This commit is contained in:
Jorens Shtekels 2024-03-12 22:45:51 +02:00
parent bba9ddc04a
commit 37f78c20c4

View File

@ -1,7 +1,6 @@
#ifndef PREP_H #ifndef PREP_H
#define PREP_H #define PREP_H
#include <chrono>
#include <cstdint> #include <cstdint>
#include <ctime> #include <ctime>
#include <string> #include <string>
@ -55,7 +54,7 @@ struct Player {
Role role; Role role;
PlayerStatus playerStatus; PlayerStatus playerStatus;
Player(uint32_t id, std : string username, Role role, PlayerStatus playerStatus); Player(uint32_t id, std::string username, Role role, PlayerStatus playerStatus);
bool operator==(const Player &other) const; bool operator==(const Player &other) const;
}; };