still no clue
This commit is contained in:
@ -16,7 +16,7 @@ class Park_spot {
|
||||
bool taken;
|
||||
Customer* parked;
|
||||
Park_spot();
|
||||
Park_spot(Customer* parked_, int id_, bool taken_);
|
||||
Park_spot(int id_, bool taken_, Customer* parked_);
|
||||
void clock(Customer* c_customer);
|
||||
|
||||
private:
|
||||
@ -26,4 +26,4 @@ class Park_spot {
|
||||
int auto_increment_db();
|
||||
};
|
||||
|
||||
static vector<Park_spot> parking_spots; // to save the parking spots in memory
|
||||
static vector<Park_spot> parking_spots {{0,0,0}}; // to save the parking spots in memory
|
Reference in New Issue
Block a user