From ad148587dcf5244c2d2011dba339786c765c54c4 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 4 Nov 2020 16:19:54 +0100 Subject: Make Lint Happy --- src/ban.cpp | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'src/ban.cpp') diff --git a/src/ban.cpp b/src/ban.cpp index 3decc9666..a6623574f 100644 --- a/src/ban.cpp +++ b/src/ban.cpp @@ -28,14 +28,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "log.h" #include "filesys.h" -BanManager::BanManager(const std::string &banfilepath): - m_banfilepath(banfilepath) +BanManager::BanManager(const std::string &banfilepath) : m_banfilepath(banfilepath) { try { load(); - } catch(SerializationError &e) { - infostream << "BanManager: creating " - << m_banfilepath << std::endl; + } catch (SerializationError &e) { + infostream << "BanManager: creating " << m_banfilepath << std::endl; } } @@ -47,10 +45,11 @@ BanManager::~BanManager() void BanManager::load() { MutexAutoLock lock(m_mutex); - infostream<<"BanManager: loading from "<