[wesnoth-commits] [wesnoth/wesnoth] 812084: Used constexpr and noexcept keywords directly

GitHub noreply at github.com
Sun Mar 18 13:56:54 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8120843b2ef6ff2348d76e962d40d8f4d83d9ca6
      https://github.com/wesnoth/wesnoth/commit/8120843b2ef6ff2348d76e962d40d8f4d83d9ca6
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-19 (Mon, 19 Mar 2018)

  Changed paths:
    M src/editor/map/editor_map.hpp
    M src/exceptions.hpp
    M src/filesystem_boost.cpp
    M src/formula/formula.hpp
    M src/game_end_exceptions.hpp
    M src/global.hpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/unit_preview_pane.cpp
    M src/image_modifications.hpp
    M src/lexical_cast.hpp
    M src/libc_error.hpp
    M src/log.cpp
    M src/log.hpp
    M src/lua_jailbreak_exception.cpp
    M src/lua_jailbreak_exception.hpp
    M src/sdl/rect.hpp
    M src/serialization/string_view.hpp
    M src/utils/general.hpp
    M src/utils/make_enum.hpp
    M src/utils/name_generator.hpp
    M src/variable_info.cpp
    M src/variable_info.hpp
    M src/wml_exception.hpp

  Log Message:
  -----------
  Used constexpr and noexcept keywords directly

We can do this now since were bumping min compiler support.


  Commit: 80c2d1a405111f4cd2f3cb7a50768e9ffdc8ee5b
      https://github.com/wesnoth/wesnoth/commit/80c2d1a405111f4cd2f3cb7a50768e9ffdc8ee5b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-19 (Mon, 19 Mar 2018)

  Changed paths:
    M src/gettext_boost.cpp
    M src/global.hpp
    M src/gui/dialogs/addon/manager.cpp
    M src/gui/widgets/debug.cpp
    M src/log.cpp
    M src/log_windows.cpp
    M src/reports.cpp
    R src/utils/io.hpp

  Log Message:
  -----------
  Used std::put time everywhere

The utils::put_time wrapper was only for GCC 4.x.


  Commit: a57192db284452dc0a7ef8b83b256058e0a17219
      https://github.com/wesnoth/wesnoth/commit/a57192db284452dc0a7ef8b83b256058e0a17219
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-19 (Mon, 19 Mar 2018)

  Changed paths:
    M src/config.hpp
    M src/config_attribute_value.hpp
    M src/formatter.hpp
    M src/global.hpp

  Log Message:
  -----------
  Removed HAVE_REF_QUALIFERS, HAVE_INHERITING_CTORS, and USE_HETEROGENOUS_LOOKUPS

Any code guarded by the first or last is now enabled by default. The second was unused.


  Commit: c1fcba17b75362d1639361fdd4ade7b1a85c0575
      https://github.com/wesnoth/wesnoth/commit/c1fcba17b75362d1639361fdd4ade7b1a85c0575
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-19 (Mon, 19 Mar 2018)

  Changed paths:
    M src/config_attribute_value.hpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/widgets/status_label_helper.hpp
    M src/lexical_cast.hpp
    M src/scripting/lua_unit_attacks.cpp
    M src/scripting/push_check.hpp
    M src/units/unit.hpp
    M src/utils/const_clone.hpp
    M src/utils/type_trait_aliases.hpp
    M src/variable_info.cpp
    M src/variable_info.hpp

  Log Message:
  -----------
  Removed the type trait alias wrappers

This completely removes the wrappers for aliases included in c++14. It also enables
use of the value alias wrappers, since we now have variable templates.


  Commit: aa09dec0f397d010f2cb13c8bf50d6f13d94705a
      https://github.com/wesnoth/wesnoth/commit/aa09dec0f397d010f2cb13c8bf50d6f13d94705a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-19 (Mon, 19 Mar 2018)

  Changed paths:
    M src/global.hpp
    M src/utils/functional.hpp

  Log Message:
  -----------
  Cleaned up one remaining use of HAVE_CXX14 and removed the macro altogether


Compare: https://github.com/wesnoth/wesnoth/compare/3cea4790b872...aa09dec0f397


More information about the Commits mailing list