Skip to content

Commit 26e080a

Browse files
committed
even more typos, sobbing
1 parent f68ed69 commit 26e080a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/move_constructors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Person {
6262
// Move assignment operator for class Person.
6363
Person &operator=(Person &&other) {
6464
age_ = other.age_;
65-
nicknames_ = std::move(nicknames_);
65+
nicknames_ = std::move(other.nicknames_);
6666
valid_ = true;
6767

6868
// The moved object's validity tag is set to false.

0 commit comments

Comments
 (0)