[wesnoth-commits] [wesnoth/wesnoth] 0c2134: Further boost cleanup

Charles Dang noreply at github.com
Sat Jan 23 12:50:08 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0c2134a645df34e05cd69bc084506c58694eb697
      https://github.com/wesnoth/wesnoth/commit/0c2134a645df34e05cd69bc084506c58694eb697
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-23 (Sat, 23 Jan 2021)

  Changed paths:
    M src/chat_events.cpp
    M src/config_attribute_value.hpp
    M src/fake_unit_ptr.cpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/widgets/slider.cpp
    M src/log.cpp
    M src/team.cpp

  Log Message:
  -----------
  Further boost cleanup

* Removed more unnecessary includes
* Used std::swap instead of boost::swap in fake_unit_ptr. This is since unit_ptr (the type of `unit_` here)
  is now just a shared_ptr instead of a boost::intrusive_ptr.
* Used std::gcd instead of boost::integer::gcd


  Commit: c9c120481545b2177dfbd7fbeb273f83c6ba4e2e
      https://github.com/wesnoth/wesnoth/commit/c9c120481545b2177dfbd7fbeb273f83c6ba4e2e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-23 (Sat, 23 Jan 2021)

  Changed paths:
    M src/units/unit.cpp

  Log Message:
  -----------
  Unit: consider all [modification] tags


Compare: https://github.com/wesnoth/wesnoth/compare/de8ad232d45a...c9c120481545



More information about the Commits mailing list