[Commits] [wesnoth/wesnoth] 932434: Revert "Map/Label: use default move ctor on compil...

GitHub noreply at github.com
Mon Aug 28 03:56:08 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9324349cb36df5d33843929f1fd193ffeccef247
      https://github.com/wesnoth/wesnoth/commit/9324349cb36df5d33843929f1fd193ffeccef247
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-08-28 (Mon, 28 Aug 2017)

  Changed paths:
    M src/map/label.cpp
    M src/map/label.hpp

  Log Message:
  -----------
  Revert "Map/Label: use default move ctor on compilers other than MSVC 2013"

This reverts commit 8c8f109c56107e4b728f8abd5ba668b374f57f67.

Utilizing the default move constructor is *not* safe. It results in the
terrain_label objects sharing the ownership of the underlying labels.





More information about the Commits mailing list