Hello Adar Dembo, Grant Henke,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/6900

to review the following change.

Change subject: Enable move constructors for protobufs
......................................................................

Enable move constructors for protobufs

This enables an experimental option for protobuf to generate move
constructors for protos. This should make storing protobufs in
containers more performant, and also should allow us to avoid some
current patterns where we use ::Swap() instead of relying on more normal
looking C++11-style pass-by-value with std::move().

I didn't go through and update places to take advantage of this, except
for just trying it in one spot to make sure it compiles properly. I also
verified in the generated code that move constructors are being
generated.

Change-Id: I775e770799aec44cda79e641980e91259d19e650
---
M src/kudu/rpc/client_negotiation.cc
M thirdparty/build-definitions.sh
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/6900/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6900
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I775e770799aec44cda79e641980e91259d19e650
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>

Reply via email to