Skip to content

[rpc] AsyncRPCOperation: std::move instead of assignment#33

Open
ch4ot1c wants to merge 3 commits into
BTCPrivate:masterfrom
ch4ot1c:improvement/AsyncRPCOperation-assignment
Open

[rpc] AsyncRPCOperation: std::move instead of assignment#33
ch4ot1c wants to merge 3 commits into
BTCPrivate:masterfrom
ch4ot1c:improvement/AsyncRPCOperation-assignment

Conversation

@ch4ot1c
Copy link
Copy Markdown
Contributor

@ch4ot1c ch4ot1c commented Jul 14, 2018

No description provided.

@ch4ot1c ch4ot1c changed the title AsyncRPCOperation: std::move instead of assignment [rpc] AsyncRPCOperation: std::move instead of assignment Jul 15, 2018
Copy link
Copy Markdown
Contributor

@jc23424 jc23424 left a comment

Choose a reason for hiding this comment

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

utACK

Can consider upstreaming to zcash part of this commit

Comment thread src/asyncrpcoperation.cpp Outdated
set_state(OperationStatus::READY);
}

AsyncRPCOperation::AsyncRPCOperation(const AsyncRPCOperation& o) :
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should consider getting rid of this copy constructor too for same reason

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@ch4ot1c ch4ot1c force-pushed the improvement/AsyncRPCOperation-assignment branch 2 times, most recently from cba6ca1 to 0a6f2f1 Compare July 15, 2018 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants