修复添加化妆品无法更改过期时间的bug
This commit is contained in:
@@ -13,7 +13,7 @@ public:
|
||||
void addCosmetic(const Cosmetic& cosmetic);
|
||||
bool deleteCosmetic(const std::string& name);
|
||||
Cosmetic* findCosmetic(const std::string& name);
|
||||
bool modifyCosmetic(const std::string& name, double newPrice, bool newType);
|
||||
bool modifyCosmetic(const std::string &name, double newPrice, bool newType, std::string string);
|
||||
void loadFromFile();
|
||||
void saveToFile();
|
||||
void displayAll() const;
|
||||
|
||||
Reference in New Issue
Block a user