aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-06-27 09:35:09 +0200
committerMacroFake <falke.marco@gmail.com>2022-06-27 09:34:09 +0200
commitfa956e7508986991008e2f6126ab307924b3f353 (patch)
treeb6a593c38aae87152cf0263117f149aa7e3e9aba /src/util
parentdde7205c576352a6052c1411d0fa8017e83d3ef4 (diff)
downloadbitcoin-fa956e7508986991008e2f6126ab307924b3f353.tar.xz
Replace CountSecondsDouble with Ticks<SecondsDouble>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/time.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util/time.h b/src/util/time.h
index 1a381aab9d..0f87d66c2e 100644
--- a/src/util/time.h
+++ b/src/util/time.h
@@ -57,11 +57,6 @@ constexpr int64_t count_microseconds(std::chrono::microseconds t) { return t.cou
using SecondsDouble = std::chrono::duration<double, std::chrono::seconds::period>;
/**
- * Helper to count the seconds in any std::chrono::duration type
- */
-inline double CountSecondsDouble(SecondsDouble t) { return t.count(); }
-
-/**
* DEPRECATED
* Use either ClockType::now() or Now<TimePointType>() if a cast is needed.
* ClockType is