[wesnoth-commits] [wesnoth/wesnoth] 0cdcfa: Unit/Animation: emplace_back (mostly) ahoy

GitHub noreply at github.com
Tue Apr 24 04:01:59 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0cdcfac5d3cb348e2785e62cb2979f16b8133338
      https://github.com/wesnoth/wesnoth/commit/0cdcfac5d3cb348e2785e62cb2979f16b8133338
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-24 (Tue, 24 Apr 2018)

  Changed paths:
    M src/units/animation.cpp

  Log Message:
  -----------
  Unit/Animation: emplace_back (mostly) ahoy

Three cases could not use emplace_back since the ctor they use is private... :(
Which sucks since unit_animation looks like it'd be a bit expensive to copy.


  Commit: a1c440510ccde7fe95015697c99c3bb01e01a83a
      https://github.com/wesnoth/wesnoth/commit/a1c440510ccde7fe95015697c99c3bb01e01a83a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-24 (Tue, 24 Apr 2018)

  Changed paths:
    M src/units/attack_type.cpp

  Log Message:
  -----------
  Unit/Attack Type: formatting cleanup


  Commit: 1749de1521b368144591d250cc935d89f76353fb
      https://github.com/wesnoth/wesnoth/commit/1749de1521b368144591d250cc935d89f76353fb
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-24 (Tue, 24 Apr 2018)

  Changed paths:
    M src/units/abilities.cpp
    M src/units/attack_type.cpp

  Log Message:
  -----------
  Units/Attack Type: moved the specials_context_t ctors to the more relevant file


Compare: https://github.com/wesnoth/wesnoth/compare/b6f412fba1b8...1749de1521b3


More information about the Commits mailing list