Linux build fix.

This commit is contained in:
Sacha 2014-03-22 00:07:05 +10:00
parent 31e1464e1a
commit 3e9cbb4a24
6 changed files with 19 additions and 16 deletions

View file

@ -14,7 +14,7 @@ TROPUSRLoader::~TROPUSRLoader()
Close();
}
bool TROPUSRLoader::Load(std::string& filepath, std::string& configpath)
bool TROPUSRLoader::Load(const std::string& filepath, const std::string& configpath)
{
if (m_file)
Close();
@ -94,7 +94,7 @@ bool TROPUSRLoader::LoadTables()
}
// TODO: TROPUSRLoader::Save deletes the TROPUSR and creates it again. This is probably very slow.
bool TROPUSRLoader::Save(std::string& filepath)
bool TROPUSRLoader::Save(const std::string& filepath)
{
if (m_file)
Close();
@ -117,7 +117,7 @@ bool TROPUSRLoader::Save(std::string& filepath)
return true;
}
bool TROPUSRLoader::Generate(std::string& filepath, std::string& configpath)
bool TROPUSRLoader::Generate(const std::string& filepath, const std::string& configpath)
{
wxString path;
wxXmlDocument doc;