Skip to content

[C++] Add move ctor/assign op to Status#1134

Merged
chaokunyang merged 3 commits intoapache:mainfrom
PragmaTwice:status-move
Nov 23, 2023
Merged

[C++] Add move ctor/assign op to Status#1134
chaokunyang merged 3 commits intoapache:mainfrom
PragmaTwice:status-move

Conversation

@PragmaTwice
Copy link
Member

What do these changes do?

  • Make assignment operator return reference
  • Add move ctor and move assignment operator for Status

Copy link
Collaborator

@chaokunyang chaokunyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great

@chaokunyang chaokunyang merged commit 7ec6a45 into apache:main Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants