aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index db2de53..3020e27 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -10,11 +10,11 @@ class contact
public:
contact() = default;
- contact(const contact& copy);
+ /*contact(const contact& copy);
contact& operator=(const contact& rhs);
contact(contact&& move);
- contact& operator=(contact&& rhs);
+ contact& operator=(contact&& rhs);*/
int Get_index();
void Set_index(int id);
@@ -86,6 +86,8 @@ public:
void AddContact(const contact& contact);
+ void update(const contact& contact);
+
void Print() const;
size_t Size() const;