David Ribeiro Alves has submitted this change and it was merged.

Change subject: Make EraseKeyReturnValuePtr in map-util work with smart 
pointers.
......................................................................


Make EraseKeyReturnValuePtr in map-util work with smart pointers.

This changes the function so that it works with smart pointers and
adds a small test that covers both smart and raw pointer cases.

Change-Id: I65d17dd26317f77c4c0aa4b8ec00fbe51f8d1ced
Reviewed-on: http://gerrit.cloudera.org:8080/3595
Reviewed-by: Todd Lipcon <t...@apache.org>
Tested-by: Kudu Jenkins
---
M src/kudu/gutil/map-util.h
M src/kudu/util/map-util-test.cc
2 files changed, 27 insertions(+), 2 deletions(-)

Approvals:
  Todd Lipcon: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I65d17dd26317f77c4c0aa4b8ec00fbe51f8d1ced
Gerrit-PatchSet: 5
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <dral...@apache.org>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <dral...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>

Reply via email to