Adar Dembo has posted comments on this change.

Change subject: ref_counted: fix move constructors to actually move
......................................................................


Patch Set 2: Code-Review+2

(1 comment)

http://gerrit.cloudera.org:8080/#/c/8002/2/src/kudu/gutil/ref_counted.h
File src/kudu/gutil/ref_counted.h:

PS2, Line 252:   // Move constructor. This is required in addition to the 
conversion
             :   // constructor below in order for clang to warn about 
pessimizing moves.
After adding this, did you run clang-tidy across the codebase to see these 
warnings? Or are they emitted during regular compilation?


-- 
To view, visit http://gerrit.cloudera.org:8080/8002
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6b6b6753ab16221e065900eba5a7c178975d38a6
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-HasComments: Yes

Reply via email to