[Commits] [wesnoth/wesnoth] 20eb42: Cleaned up shared_ptr assignment

GitHub noreply at github.com
Tue Sep 12 00:17:30 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 20eb42477c4056e5af162ba0d5ff4fdfcd2c83de
      https://github.com/wesnoth/wesnoth/commit/20eb42477c4056e5af162ba0d5ff4fdfcd2c83de
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-09-12 (Tue, 12 Sep 2017)

  Changed paths:
    M src/ai/actions.cpp
    M src/ai/composite/aspect.hpp
    M src/ai/composite/goal.cpp
    M src/ai/default/aspect_attacks.cpp
    M src/ai/manager.cpp
    M src/formula/function.cpp
    M src/reports.cpp
    M src/synced_context.cpp
    M src/utils/name_generator_factory.cpp
    M src/whiteboard/manager.cpp

  Log Message:
  -----------
  Cleaned up shared_ptr assignment

Made use of reset, make_shared, or direct assignment instead of creating new shared_ptrs.





More information about the Commits mailing list