cleanup superfluous semi-colons

This commit is contained in:
J-P Nurmi
2014-09-27 15:40:47 +02:00
parent 51a62250ca
commit f67acdc7a3
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ public:
// Buffer
const CBuffer& GetBuffer() const { return m_Buffer; }
unsigned int GetBufferCount() const { return m_Buffer.GetLineCount(); }
bool SetBufferCount(unsigned int u, bool bForce = false) { m_bHasBufferCountSet = true; return m_Buffer.SetLineCount(u, bForce); };
bool SetBufferCount(unsigned int u, bool bForce = false) { m_bHasBufferCountSet = true; return m_Buffer.SetLineCount(u, bForce); }
void InheritBufferCount(unsigned int u, bool bForce = false) { if (!m_bHasBufferCountSet) m_Buffer.SetLineCount(u, bForce); }
size_t AddBuffer(const CString& sFormat, const CString& sText = "", const timeval* ts = NULL) { return m_Buffer.AddLine(sFormat, sText, ts); }
void ClearBuffer() { m_Buffer.Clear(); }
+3 -3
View File
@@ -73,7 +73,7 @@ public:
CUser* GetUser();
const CString& GetName() const;
bool IsNetworkAttached() const { return !m_vClients.empty(); };
bool IsNetworkAttached() const { return !m_vClients.empty(); }
std::vector<CClient*>& GetClients() { return m_vClients; }
void SetUser(CUser *pUser);
@@ -103,8 +103,8 @@ public:
CQuery* AddQuery(const CString& sName);
bool DelQuery(const CString& sName);
const CString& GetChanPrefixes() const { return m_sChanPrefixes; };
void SetChanPrefixes(const CString& s) { m_sChanPrefixes = s; };
const CString& GetChanPrefixes() const { return m_sChanPrefixes; }
void SetChanPrefixes(const CString& s) { m_sChanPrefixes = s; }
bool IsChan(const CString& sChan) const;
const std::vector<CServer*>& GetServers() const;