禁止添加重复的品牌名
This commit is contained in:
@@ -10,7 +10,7 @@ public:
|
||||
CosmeticManager();
|
||||
~CosmeticManager();
|
||||
|
||||
void addCosmetic(const Cosmetic& cosmetic);
|
||||
bool 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, std::string string);
|
||||
|
||||
Reference in New Issue
Block a user