[Commits] [wesnoth/wesnoth] e6b5b2: Preprocessor: reformat this absolute mess of a fil...

GitHub noreply at github.com
Mon Aug 28 15:31:13 UTC 2017


  Branch: refs/heads/preprocessor_cleanup
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e6b5b260b25fd01e5fbce9d1d32f8fc1d5640f93
      https://github.com/wesnoth/wesnoth/commit/e6b5b260b25fd01e5fbce9d1d32f8fc1d5640f93
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-29 (Tue, 29 Aug 2017)

  Changed paths:
    M src/serialization/preprocessor.cpp
    M src/serialization/preprocessor.hpp

  Log Message:
  -----------
  Preprocessor: reformat this absolute mess of a file


  Commit: 5ab2ec5b582965d81d4f3668a0c1c2a0b40ad70d
      https://github.com/wesnoth/wesnoth/commit/5ab2ec5b582965d81d4f3668a0c1c2a0b40ad70d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-29 (Tue, 29 Aug 2017)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  Preprocessor: used emplace_back in one place


  Commit: a204a87ba54f0d7d410ada2cb71f39459accfc44
      https://github.com/wesnoth/wesnoth/commit/a204a87ba54f0d7d410ada2cb71f39459accfc44
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-29 (Tue, 29 Aug 2017)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  Preprocessor: use more logical method to assign current streambuf target

This moves the assignment of the `current_` pointer out of the preprocessor base ctor and to
the call sites. This is a *lot* easier to understand when looking at the code.


Compare: https://github.com/wesnoth/wesnoth/compare/e6b5b260b25f^...a204a87ba54f


More information about the Commits mailing list