Fix for older MSVC versions

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7932 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e500b1ff5ee49380653f6824be95b18ce1dc2c8a
Former-commit-id: 9c91e695b209b84d11add1a435b307cdc2d44937
This commit is contained in:
beaglejoe 2022-01-22 23:29:10 +00:00
parent 5655254086
commit 3d8d793a99
2 changed files with 4 additions and 2 deletions

View file

@ -80,6 +80,8 @@ static bool hasHigherPriority(const GfRaceManager* pLeft, const GfRaceManager* p
}
GfRaceManagers::GfRaceManagers()
:CLIENT_SERVER_OFF_DISALLOWED_NETWORK_RACEMANAGER_TYPE("Network"),
CLIENT_SERVER_ON_DISALLOWED_NETWORK_RACEMANAGER_TYPE("Online")
{
_pPrivate = new Private;

View file

@ -144,8 +144,8 @@ protected:
private:
bool cmakeConfigurationPermits(const std::string& raceManagerType) const;
static constexpr const char *const CLIENT_SERVER_OFF_DISALLOWED_NETWORK_RACEMANAGER_TYPE = "Network";
static constexpr const char *const CLIENT_SERVER_ON_DISALLOWED_NETWORK_RACEMANAGER_TYPE = "Online";
std::string CLIENT_SERVER_OFF_DISALLOWED_NETWORK_RACEMANAGER_TYPE;
std::string CLIENT_SERVER_ON_DISALLOWED_NETWORK_RACEMANAGER_TYPE;
};
#endif /* __TGFRACEMANAGERS__H__ */