Skip to content

Commit

Permalink
8290290: Remove addition of TimeInstants
Browse files Browse the repository at this point in the history
Reviewed-by: stuefe, dholmes
  • Loading branch information
Kim Barrett committed Jul 14, 2022
1 parent c7c2066 commit 3bb2dc8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/hotspot/share/utilities/ticks.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -215,9 +215,6 @@ class TimeInstant : public Rep<TimeSource> {
Rep<TimeSource>::operator-=(rhs);
return *this;
}
TimeInterval<Rep, TimeSource> operator+(const TimeInstant<Rep, TimeSource>& end) const {
return TimeInterval<Rep, TimeSource>(end, *this);
}
TimeInterval<Rep, TimeSource> operator-(const TimeInstant<Rep, TimeSource>& start) const {
return TimeInterval<Rep, TimeSource>(*this, start);
}
Expand Down

1 comment on commit 3bb2dc8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.