From fa11110bff6288f63e0c487e2e4b4079fb0f4569 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 8 Dec 2020 16:49:33 +0100 Subject: util: Allow use of C++14 chrono literals --- src/net_processing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net_processing.cpp') diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 2f2924b262..c46d7d0e61 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -4080,7 +4080,7 @@ bool PeerManager::SendMessages(CNode* pto) // over since our last self-announcement, but there is only a small // bandwidth cost that we can incur by doing this (which happens // once a day on average). - if (pto->m_next_local_addr_send != std::chrono::microseconds::zero()) { + if (pto->m_next_local_addr_send != 0us) { pto->m_addr_known->reset(); } AdvertiseLocal(pto); -- cgit v1.2.3