Skip to content

Commit

Permalink
cleanups: inserted line-break, removed superfluous method declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch committed Aug 8, 2019
1 parent 93eeecf commit 6d395fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/CSGOMatchList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 1 addition & 2 deletions src/CSGOMatchList.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ void printMatches(DataObject &data)
i++;
}

std::cout << t;
std::cout << t << std::endl;
}

void printScoreboard(DataObject &data)
Expand Down Expand Up @@ -555,7 +555,7 @@ void printScoreboard(DataObject &data)
}
}

std::cout << t;
std::cout << t << std::endl;
}

void uploadDemoShareCodes(DataObject &data, bool &verbose)
Expand Down

0 comments on commit 6d395fd

Please sign in to comment.