This commit is contained in:
Zihan Chen
2017-01-24 23:17:39 -08:00
parent 297b214693
commit d4e4e1b58d
3 changed files with 98 additions and 92 deletions
+2 -2
View File
@@ -122,7 +122,7 @@ public:
return address; return address;
} }
void Update(WString _name, DateTime _birthday, WString _phone, WString _address)override void Update(const WString& _name, DateTime _birthday, const WString& _phone, const WString& _address)override
{ {
name = _name; name = _name;
birthday = _birthday; birthday = _birthday;
@@ -230,7 +230,7 @@ public:
} }
} }
void AddCategory(WString name) void AddCategory(const WString& name)
{ {
if (auto current = dynamic_cast<Category*>(selectedCategory.Obj())) if (auto current = dynamic_cast<Category*>(selectedCategory.Obj()))
{ {
File diff suppressed because it is too large Load Diff
Binary file not shown.