Todd Lipcon has submitted this change and it was merged. Change subject: gutil: remove use of deprecated headers ......................................................................
gutil: remove use of deprecated headers We've been on C++11 for a long time now. This commit removes usage of ext/hash_map and ext/hash_set headers in favor of the now-standardized unordered_map and unordered_set. Additionally, it removes our specializations of __gnucxx::hash<> and instead changes to specializing std::hash<> where appropriate. Some of those specializations are now part of the standard and have been removed as necessary to fix compilation. This does not yet remove the -Wno-deprecated setting in the top-level CMakeLists.txt, since it appears we have a lot of usage of our own internal deprecated functions. Change-Id: Ie088f77aa3f70d386a00166e783c66200fce781b Reviewed-on: http://gerrit.cloudera.org:8080/7684 Tested-by: Todd Lipcon <t...@apache.org> Reviewed-by: Alexey Serbin <aser...@cloudera.com> --- M CMakeLists.txt M src/kudu/gutil/CMakeLists.txt M src/kudu/gutil/endian.h M src/kudu/gutil/hash/hash.cc M src/kudu/gutil/hash/hash.h M src/kudu/gutil/strings/serialize.cc M src/kudu/gutil/strings/serialize.h M src/kudu/gutil/strings/split.cc M src/kudu/gutil/strings/split.h 9 files changed, 40 insertions(+), 126 deletions(-) Approvals: Todd Lipcon: Verified Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/7684 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie088f77aa3f70d386a00166e783c66200fce781b Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: David Ribeiro Alves <davidral...@gmail.com> Gerrit-Reviewer: Sailesh Mukil <sail...@cloudera.com> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org>