From 1a864832c883e7f41289eab99b2f17170f5c7aee Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Thu, 14 Nov 2019 10:07:40 -0500 Subject: [PATCH] make format --- llarp/ev/ev.hpp | 3 ++- llarp/path/pathset.hpp | 8 ++++---- llarp/service/info.cpp | 3 +-- llarp/service/info.hpp | 3 +-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/llarp/ev/ev.hpp b/llarp/ev/ev.hpp index 6fa050e42..b759f25d7 100644 --- a/llarp/ev/ev.hpp +++ b/llarp/ev/ev.hpp @@ -671,7 +671,8 @@ namespace llarp #ifdef _WIN32 struct llarp_fd_promise { - void Set(std::pair< int, int >) + void + Set(std::pair< int, int >) { } diff --git a/llarp/path/pathset.hpp b/llarp/path/pathset.hpp index 0fd613f94..764796426 100644 --- a/llarp/path/pathset.hpp +++ b/llarp/path/pathset.hpp @@ -199,15 +199,15 @@ namespace llarp } /// override me in subtype - virtual bool HandleGotIntroMessage( - std::shared_ptr< const dht::GotIntroMessage >) + virtual bool + HandleGotIntroMessage(std::shared_ptr< const dht::GotIntroMessage >) { return false; } /// override me in subtype - virtual bool HandleGotRouterMessage( - std::shared_ptr< const dht::GotRouterMessage >) + virtual bool + HandleGotRouterMessage(std::shared_ptr< const dht::GotRouterMessage >) { return false; } diff --git a/llarp/service/info.cpp b/llarp/service/info.cpp index 1ac9bbfd0..427d2baa7 100644 --- a/llarp/service/info.cpp +++ b/llarp/service/info.cpp @@ -65,8 +65,7 @@ namespace llarp return m_CachedAddr.ToString(); } - bool - ServiceInfo::CalculateAddress(std::array< byte_t, 32 >& data) const + bool ServiceInfo::CalculateAddress(std::array< byte_t, 32 >& data) const { std::array< byte_t, 256 > tmp; llarp_buffer_t buf(tmp); diff --git a/llarp/service/info.hpp b/llarp/service/info.hpp index 77978d09e..a22da5257 100644 --- a/llarp/service/info.hpp +++ b/llarp/service/info.hpp @@ -89,8 +89,7 @@ namespace llarp } /// calculate our address - bool - CalculateAddress(std::array< byte_t, 32 >& data) const; + bool CalculateAddress(std::array< byte_t, 32 >& data) const; bool BDecode(llarp_buffer_t* buf)