diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-02 13:38:27 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-02 13:38:27 +0000 |
commit | 4df1759a3636108839f9533268c8ce1b7156e132 (patch) | |
tree | c8ce12529845eecb930907829ca1ad3805f79628 /src/resources/buddylist.cpp | |
parent | fcaec2c34641a5dc3da7423e81ad7b1415fe078d (diff) | |
download | mana-client-4df1759a3636108839f9533268c8ce1b7156e132.tar.gz mana-client-4df1759a3636108839f9533268c8ce1b7156e132.tar.bz2 mana-client-4df1759a3636108839f9533268c8ce1b7156e132.tar.xz mana-client-4df1759a3636108839f9533268c8ce1b7156e132.zip |
Added check for pthread library (needed for FreeBSD, still needs to be checked
on MacOS X) and some cleanups.
Diffstat (limited to 'src/resources/buddylist.cpp')
-rw-r--r-- | src/resources/buddylist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/buddylist.cpp b/src/resources/buddylist.cpp index 2e2cdea6..e41327a5 100644 --- a/src/resources/buddylist.cpp +++ b/src/resources/buddylist.cpp @@ -41,7 +41,7 @@ BuddyList::~BuddyList() delete filename; } -void BuddyList::loadFile(void) +void BuddyList::loadFile() { char *buddy; @@ -64,7 +64,7 @@ void BuddyList::loadFile(void) inputStream.close(); } -void BuddyList::saveFile(void) +void BuddyList::saveFile() { std::string str; @@ -121,7 +121,7 @@ bool BuddyList::removeBuddy(const std::string buddy) return false; } -int BuddyList::getNumberOfElements(void) +int BuddyList::getNumberOfElements() { return buddylist.size(); } |