diff options
Diffstat (limited to 'Project1/contact.cpp')
| -rw-r--r-- | Project1/contact.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Project1/contact.cpp b/Project1/contact.cpp index c6d670f..e4ba37e 100644 --- a/Project1/contact.cpp +++ b/Project1/contact.cpp @@ -25,6 +25,12 @@ contact& contact::operator=(const contact& rhs) return *this; } +contact::contact(contact&& move) +{ + *this = move; + //also *this = std::move(move); +} + void contact::Set_firstName(const char* firstName) { |