From 6d395fd89155ba9cb2e3d1e59d07f7a30a3dc79d Mon Sep 17 00:00:00 2001 From: jakoch Date: Thu, 8 Aug 2019 16:55:31 +0200 Subject: [PATCH] cleanups: inserted line-break, removed superfluous method declaration --- src/CSGOMatchList.cpp | 6 +++--- src/CSGOMatchList.h | 3 +-- src/main.cpp | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/CSGOMatchList.cpp b/src/CSGOMatchList.cpp index 29c2609..7009ac3 100644 --- a/src/CSGOMatchList.cpp +++ b/src/CSGOMatchList.cpp @@ -10,10 +10,10 @@ */ -CSGOMatchList::CSGOMatchList() - :m_matchListHandler(this, &CSGOMatchList::OnMatchList) +CSGOMatchList::CSGOMatchList() + :m_matchListHandler(this, &CSGOMatchList::OnMatchList) { - CSGOClient::GetInstance()->RegisterHandler(k_EMsgGCCStrike15_v2_MatchList, &m_matchListHandler); + CSGOClient::GetInstance()->RegisterHandler(k_EMsgGCCStrike15_v2_MatchList, &m_matchListHandler); } CSGOMatchList::~CSGOMatchList() diff --git a/src/CSGOMatchList.h b/src/CSGOMatchList.h index 1557648..4ecb25f 100644 --- a/src/CSGOMatchList.h +++ b/src/CSGOMatchList.h @@ -27,8 +27,7 @@ class CSGOMatchList CMsgGCCStrike15_v2_MatchList matchList; private: - //void OnClientWelcome(const CMsgClientWelcome& msg); - void OnMatchList(const CMsgGCCStrike15_v2_MatchList& msg); + void OnMatchList(const CMsgGCCStrike15_v2_MatchList& msg); //void LoadOldMatchList(); //void SaveMatchList(); diff --git a/src/main.cpp b/src/main.cpp index e977999..768b28b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -504,7 +504,7 @@ void printMatches(DataObject &data) i++; } - std::cout << t; + std::cout << t << std::endl; } void printScoreboard(DataObject &data) @@ -555,7 +555,7 @@ void printScoreboard(DataObject &data) } } - std::cout << t; + std::cout << t << std::endl; } void uploadDemoShareCodes(DataObject &data, bool &verbose)