[Commits] [wesnoth/wesnoth] a0454f: IPF: use a unique_ptr to automatically handle the ...

GitHub noreply at github.com
Sat Feb 18 16:29:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a0454f95e9b8f631e04ac01e96174543084b01ab
      https://github.com/wesnoth/wesnoth/commit/a0454f95e9b8f631e04ac01e96174543084b01ab
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-02-19 (Sun, 19 Feb 2017)

  Changed paths:
    M src/image.cpp
    M src/image_modifications.cpp
    M src/image_modifications.hpp

  Log Message:
  -----------
  IPF: use a unique_ptr to automatically handle the deletion of mods in a queue

NOTE: the empty destructor was removed since a dtor prevents the compiler from generating a move constructor,
which is needed in this case so the modifications::decode function works.





More information about the Commits mailing list