fix compilation

This commit is contained in:
konstin 2014-07-30 16:17:40 +02:00
parent 98d3728a4e
commit e7d3ab4be2

View File

@ -45,8 +45,6 @@ private:
/** Generates a new unique indentifier for a user defined grand prix */ /** Generates a new unique indentifier for a user defined grand prix */
std::string generateId(); std::string generateId();
bool existsName(const irr::core::stringw& name) const;
public: public:
GrandPrixManager(); GrandPrixManager();
~GrandPrixManager(); ~GrandPrixManager();
@ -54,6 +52,7 @@ public:
GrandPrixData* getGrandPrix(const int i) const { return m_gp_data[i]; } GrandPrixData* getGrandPrix(const int i) const { return m_gp_data[i]; }
GrandPrixData* getGrandPrix(const std::string& s) const; GrandPrixData* getGrandPrix(const std::string& s) const;
unsigned int getNumberOfGrandPrix() const { return m_gp_data.size(); } unsigned int getNumberOfGrandPrix() const { return m_gp_data.size(); }
bool existsName(const irr::core::stringw& name) const;
void checkConsistency(); void checkConsistency();
// Methods for the gp editor // Methods for the gp editor