small cleanup

This commit is contained in:
AJ Kelly
2011-02-25 18:26:31 -06:00
parent 32e6e65d35
commit 734cbab2a1
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -10,7 +10,6 @@
#include "XmlFileUtil.h" #include "XmlFileUtil.h"
#include <ctime> #include <ctime>
Bookkeeper* BOOKKEEPER = NULL; // global and accessable from anywhere in our program Bookkeeper* BOOKKEEPER = NULL; // global and accessable from anywhere in our program
static const RString COINS_DAT = "Save/Coins.xml"; static const RString COINS_DAT = "Save/Coins.xml";
@@ -18,7 +17,6 @@ static const RString COINS_DAT = "Save/Coins.xml";
Bookkeeper::Bookkeeper() Bookkeeper::Bookkeeper()
{ {
ClearAll(); ClearAll();
ReadFromDisk(); ReadFromDisk();
} }
@@ -172,7 +170,6 @@ int Bookkeeper::GetCoinsTotal() const
return GetNumCoinsInRange( m_mapCoinsForHour.begin(), m_mapCoinsForHour.end() ); return GetNumCoinsInRange( m_mapCoinsForHour.begin(), m_mapCoinsForHour.end() );
} }
void Bookkeeper::GetCoinsLastDays( int coins[NUM_LAST_DAYS] ) const void Bookkeeper::GetCoinsLastDays( int coins[NUM_LAST_DAYS] ) const
{ {
time_t lOldTime = time(NULL); time_t lOldTime = time(NULL);
-1
View File
@@ -61,7 +61,6 @@ private:
map<Date,int> m_mapCoinsForHour; map<Date,int> m_mapCoinsForHour;
}; };
extern Bookkeeper* BOOKKEEPER; // global and accessable from anywhere in our program extern Bookkeeper* BOOKKEEPER; // global and accessable from anywhere in our program
#endif #endif