[Commits] [wesnoth/wesnoth] 699047: Refactor out wesnothd_connection_ptr wrapper class

GitHub noreply at github.com
Mon Aug 28 09:49:15 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 699047766a8852014df20c44d5ed84dadb37015e
      https://github.com/wesnoth/wesnoth/commit/699047766a8852014df20c44d5ed84dadb37015e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-28 (Mon, 28 Aug 2017)

  Changed paths:
    M src/game_initialization/multiplayer.cpp
    M src/wesnothd_connection.cpp
    M src/wesnothd_connection.hpp

  Log Message:
  -----------
  Refactor out wesnothd_connection_ptr wrapper class

Just used the shared_ptr directly. The wrapper basically duplicated the functionality of shared_ptr.
This also adds moves the stop() call to the wesnothd_connection dtor instead of the wrapper class.





More information about the Commits mailing list