Get Linux compiling again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3159 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-06-04 23:07:46 +00:00
parent a7bb875e18
commit da636827f1
3 changed files with 10 additions and 8 deletions

View File

@ -6,13 +6,7 @@
// DataBase_Loader - Private Methods
//------------------------------------------------------------------
template<class T> string DataBase_Loader::toString(const T& value) {
stringstream ss(ios_base::in | ios_base::out);
string tString;
ss << value;
ss >> tString;
return tString;
}
//template<class T> string DataBase_Loader::toString(const T& value);
string DataBase_Loader::toLower(const string& s) {
string retval( s );

View File

@ -76,7 +76,13 @@ public:
class DataBase_Loader {
private:
template<class T> string toString(const T& value);
template<class T> string toString(const T& value) {
stringstream ss(ios_base::in | ios_base::out);
string tString;
ss << value;
ss >> tString;
return tString;
}
string toLower(const string& s);
bool strCompare(const string& s1, const string& s2);
bool isComment(const string& s);

View File

@ -204,6 +204,7 @@
<Unit filename="../Config.h" />
<Unit filename="../Counters.cpp" />
<Unit filename="../Counters.h" />
<Unit filename="../DataBase_Loader.cpp" />
<Unit filename="../DataBase_Loader.h" />
<Unit filename="../DebugTools/Debug.h" />
<Unit filename="../DebugTools/DisASM.h" />
@ -415,6 +416,7 @@
<Unit filename="../gui/Panels/CpuPanel.cpp" />
<Unit filename="../gui/Panels/DirPickerPanel.cpp" />
<Unit filename="../gui/Panels/GSWindowPanel.cpp" />
<Unit filename="../gui/Panels/GameDatabasePanel.cpp" />
<Unit filename="../gui/Panels/GameFixesPanel.cpp" />
<Unit filename="../gui/Panels/LogOptionsPanels.cpp" />
<Unit filename="../gui/Panels/LogOptionsPanels.h" />