[Commits] [wesnoth/wesnoth] 1d0e4f: Convert most usecases of atoi to std::stoi

GitHub noreply at github.com
Mon Jun 6 14:54:08 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1d0e4fff417fb5ddd8ceecf0948a9fcc6e65721a
      https://github.com/wesnoth/wesnoth/commit/1d0e4fff417fb5ddd8ceecf0948a9fcc6e65721a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M src/display.cpp
    M src/formula/formula.cpp
    M src/game_events/action_wml.cpp
    M src/generators/cave_map_generator.cpp
    M src/generators/map_generator.cpp
    M src/halo.cpp
    M src/help/help_topic_generators.cpp
    M src/map/location.cpp
    M src/playturn.cpp
    M src/preferences.cpp
    M src/serialization/string_utils.cpp
    M src/server/forum_user_handler.cpp
    M src/terrain/builder.cpp
    M src/units/frame.cpp

  Log Message:
  -----------
  Convert most usecases of atoi to std::stoi

Uses in theme.cpp were left alone since changing them causes a crash.
Other cases I'll leave for other people who know the respective code
better to change.





More information about the Commits mailing list