small bugfix
This commit is contained in:
		| @@ -6,7 +6,8 @@ Park_spot::Park_spot() | ||||
|     : parked{nullptr}, id{auto_increment_db() + 1}, taken{false} { | ||||
|     save_db(); | ||||
| } | ||||
| Park_spot::Park_spot(Customer parked_, int id_, bool taken_) | ||||
|  | ||||
| Park_spot::Park_spot(Customer* parked_, int id_, bool taken_) | ||||
|     : parked{nullptr}, | ||||
|       id{id_}, | ||||
|       taken{taken_} // TODO: think about how init parked? | ||||
|   | ||||
| @@ -16,6 +16,7 @@ class Park_spot { | ||||
|     bool taken; | ||||
|     Customer* parked; | ||||
|     Park_spot(); | ||||
|     Park_spot(Customer* parked_, int id_, bool taken_); | ||||
|     ~Park_spot(); | ||||
|     void | ||||
|     clock(Customer* c_customer); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MassiveAtoms
					MassiveAtoms