Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2011, 3:33:35 AM (14 years ago)
Author:
rgrieder
Message:

VS 2010 doesn't like std::make_pair with C-strings if the result should actually contain std::string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/src/libraries/core/Game.cc

    r7284 r8058  
    455455            ThrowException(GameState, "Emtpy GameState hierarchy provided, terminating.");
    456456        // Add element with large identation to detect the last with just an iterator
    457         stateStrings.push_back(std::make_pair("", -1));
     457        stateStrings.push_back(std::make_pair(std::string(), -1));
    458458
    459459        // Parse elements recursively
Note: See TracChangeset for help on using the changeset viewer.