From 6ccb5835ff55d85156be91473c598eca9d6cb9a6 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 4 Nov 2020 16:57:41 +0100 Subject: Revert "Make Lint Happy" This reverts commit ad148587dcf5244c2d2011dba339786c765c54c4. --- src/ban.cpp | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'src/ban.cpp') diff --git a/src/ban.cpp b/src/ban.cpp index a6623574f..3decc9666 100644 --- a/src/ban.cpp +++ b/src/ban.cpp @@ -28,12 +28,14 @@ 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; } } @@ -45,11 +47,10 @@ BanManager::~BanManager() void BanManager::load() { MutexAutoLock lock(m_mutex); - infostream << "BanManager: loading from " << m_banfilepath << std::endl; + infostream<<"BanManager: loading from "<