Adar Dembo has uploaded this change for review. (
http://gerrit.cloudera.org:8080/12909
Change subject: client: remove a warning
......................................................................
client: remove a warning
../../src/kudu/client/schema.cc:624:27: warning: moving a temporary object
prevents copy elision [-Wpessimizing-move]
std::move(comment ?
boost::optional<string>(*comment) : boost::none));
^
../../src/kudu/client/schema.cc:624:27: note: remove std::move call here
std::move(comment ?
boost::optional<string>(*comment) : boost::none));
^~~~~~~~~~
~
1 warning generated.
Change-Id: I15b60c8a4b245fa694a1abc5c60bced66ed3039b
---
M src/kudu/client/schema.cc
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/09/12909/1
--
To view, visit http://gerrit.cloudera.org:8080/12909
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I15b60c8a4b245fa694a1abc5c60bced66ed3039b
Gerrit-Change-Number: 12909
Gerrit-PatchSet: 1
Gerrit-Owner: Adar Dembo <[email protected]>