diff options
Diffstat (limited to 'Project1/Contacts.h')
| -rw-r--r-- | Project1/Contacts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h index 48a89c3..d488a43 100644 --- a/Project1/Contacts.h +++ b/Project1/Contacts.h @@ -9,13 +9,13 @@ using namespace std; class contact { public: + // constructors and destructors. contact() = default; - /*contact(const contact& copy); contact& operator=(const contact& rhs); - contact(contact&& move); - contact& operator=(contact&& rhs);*/ + contact(contact&& move) noexcept; + contact& operator=(contact&& rhs) noexcept; string Get_firstName(); void Set_firstName(string firstName); |