Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/18202 )

Change subject: [tablet] fix compilation warning in rowset_info.cc
......................................................................

[tablet] fix compilation warning in rowset_info.cc

src/kudu/tablet/rowset_info.cc:207:21: warning: loop variable 'col_id' of type 
'const kudu::ColumnId' creates a copy from type 'const kudu::ColumnId' 
[-Wrange-loop-analysis]
    for (const auto col_id : col_ids) {
                    ^
src/kudu/tablet/rowset_info.cc:207:10: note: use reference type 'const 
kudu::ColumnId &' to prevent copying
    for (const auto col_id : col_ids) {
         ^~~~~~~~~~~~~~~~~~~
                    &

Change-Id: I25379f9764d7c6c6699740a06877301b624c1f54
Reviewed-on: http://gerrit.cloudera.org:8080/18202
Reviewed-by: Andrew Wong <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
---
M src/kudu/tablet/rowset_info.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Andrew Wong: Looks good to me, approved
  Alexey Serbin: Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I25379f9764d7c6c6699740a06877301b624c1f54
Gerrit-Change-Number: 18202
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to