Avoid warning with visual studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
f1c45b0609
commit
3d7c364eaa
@ -34,7 +34,10 @@
|
||||
#include "tracks/track_manager.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
ChallengeData::ChallengeData(const std::string& filename) throw(std::runtime_error)
|
||||
ChallengeData::ChallengeData(const std::string& filename)
|
||||
#ifndef WIN32
|
||||
throw(std::runtime_error)
|
||||
#endif
|
||||
{
|
||||
m_filename = filename;
|
||||
m_major = RaceManager::MAJOR_MODE_SINGLE;
|
||||
|
@ -50,7 +50,11 @@ private:
|
||||
void error(const char *id) const;
|
||||
|
||||
public:
|
||||
#ifdef WIN32
|
||||
ChallengeData(const std::string& filename);
|
||||
#else
|
||||
ChallengeData(const std::string& filename) throw(std::runtime_error);
|
||||
#endif
|
||||
void setRace() const;
|
||||
virtual void check() const;
|
||||
virtual bool raceFinished();
|
||||
|
Loading…
x
Reference in New Issue
Block a user