Will Berkeley has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11593
Change subject: C++11 improvements to Schema ...................................................................... C++11 improvements to Schema This adds a move constructor and move assignment operator to Schema. Schema::swap is removed. It was only used in tests, and any potential use of it should be adequately fulfilled by one of moves, copies, or Schema::Reset. It also replaced a couple of unnecessarily verbose constructors with single-argument ones, which is possible because of the addition of single-argument Allocator constructors for std::unordered_map in C++11. Change-Id: I6c827c84657875be4cf2bc565db03a686849d8e2 --- M src/kudu/common/schema-test.cc M src/kudu/common/schema.cc M src/kudu/common/schema.h 3 files changed, 106 insertions(+), 55 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/93/11593/1 -- To view, visit http://gerrit.cloudera.org:8080/11593 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I6c827c84657875be4cf2bc565db03a686849d8e2 Gerrit-Change-Number: 11593 Gerrit-PatchSet: 1 Gerrit-Owner: Will Berkeley <[email protected]>
