Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14932
Change subject: [monotime] deprecating MonoTime::GetDeltaSince() ...................................................................... [monotime] deprecating MonoTime::GetDeltaSince() I find that MonoTime t0 = ...; MonoTime t1 = ...; MonoDelta delta = t1 - t0; is easier to write, read, and understand than MonoTime t0 = ...; MonoTime t1 = ...; MonoDelta delta = t1.GetDeltaSince(t0); So, I replaced usage of the MonoTime::GetDeltaSince() with the operator and marked the former method as deprecated. This patch doesn't contain any functional modifications. Change-Id: I9611c8a20e02b117757842bc3b46b8faf82d9700 --- M src/kudu/rpc/result_tracker.cc M src/kudu/rpc/rpc-test-base.h M src/kudu/tserver/tablet_copy_service-test.cc M src/kudu/tserver/tablet_service.cc M src/kudu/util/monotime-test.cc M src/kudu/util/monotime.cc M src/kudu/util/monotime.h 7 files changed, 24 insertions(+), 25 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/32/14932/1 -- To view, visit http://gerrit.cloudera.org:8080/14932 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I9611c8a20e02b117757842bc3b46b8faf82d9700 Gerrit-Change-Number: 14932 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
