[Commits] [wesnoth/wesnoth] 2a6ca6: Deployed more emplace_back (how do I keep missing ...
GitHub
noreply at github.com
Fri Apr 28 06:16:29 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 2a6ca6cd9e8620b433e9b7ecd8892ca52c926814
https://github.com/wesnoth/wesnoth/commit/2a6ca6cd9e8620b433e9b7ecd8892ca52c926814
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-04-28 (Fri, 28 Apr 2017)
Changed paths:
M src/ai/configuration.cpp
M src/ai/default/aspect_attacks.cpp
M src/ai/default/ca.cpp
M src/ai/default/recruitment.cpp
M src/commandline_options.cpp
M src/configr_assign.hpp
M src/font/font_description.hpp
M src/game_initialization/connect_engine.cpp
M src/help/help_impl.cpp
M src/help/help_topic_generators.cpp
M src/reports.cpp
M src/scripting/application_lua_kernel.cpp
M src/serialization/preprocessor.cpp
M src/terrain/builder.cpp
M src/units/abilities.cpp
M src/units/types.cpp
M src/utils/context_free_grammar_generator.cpp
M src/video.cpp
M src/wesnoth.cpp
Log Message:
-----------
Deployed more emplace_back (how do I keep missing these...)
Covers more cases of:
* push_back(std::pair
* push_back(std::make_pair
* push_back(std::make_tuple
* push_back(T) where T is an empty object of type T
Small thing I noticed: this does mean the numbers in font::subset_descriptor are no longer 'cast' to size_t before being
added to the vector, but that shouldn't matter (hopefully).
Commit: a4b3f72a575e4d04f75b50930ab544da376cdfe7
https://github.com/wesnoth/wesnoth/commit/a4b3f72a575e4d04f75b50930ab544da376cdfe7
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-04-28 (Fri, 28 Apr 2017)
Changed paths:
M src/tests/gui/test_gui2.cpp
Log Message:
-----------
GUI2 Tests: directly initialize a vector
Compare: https://github.com/wesnoth/wesnoth/compare/ac23b4579e78...a4b3f72a575e
More information about the Commits
mailing list