Adar Dembo has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/12909
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/client/schema.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alexey Serbin: Looks good to me, approved
  Kudu Jenkins: Verified

--
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: merged
Gerrit-Change-Id: I15b60c8a4b245fa694a1abc5c60bced66ed3039b
Gerrit-Change-Number: 12909
Gerrit-PatchSet: 2
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to