[wesnoth-commits] [wesnoth/wesnoth] 74d914: Convert relevant cases of lexical_cast to std::to_...

Pentarctagon noreply at github.com
Mon Jan 18 06:51:57 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 74d914f45f6e9811817f2e665b619f58886807dc
      https://github.com/wesnoth/wesnoth/commit/74d914f45f6e9811817f2e665b619f58886807dc
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M src/config_attribute_value.cpp
    M src/display.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/server/common/server_base.cpp
    M src/server/wesnothd/player.cpp
    M src/server/wesnothd/server.cpp

  Log Message:
  -----------
  Convert relevant cases of lexical_cast to std::to_string().

In general I think it's best to use std implementations unless there's a functional or performance reason not to, but also in a few cases this also allows removing the include of lexical_cast.hpp.





More information about the Commits mailing list