[wesnoth-commits] [wesnoth/wesnoth] 6b9a1b: Fix theme::operator= not copying width or height

Charles Dang noreply at github.com
Sat Nov 7 04:39:14 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6b9a1b6929444bd05bd97b9252397d052d49cc81
      https://github.com/wesnoth/wesnoth/commit/6b9a1b6929444bd05bd97b9252397d052d49cc81
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2020-11-06 (Fri, 06 Nov 2020)

  Changed paths:
    M src/theme.cpp

  Log Message:
  -----------
  Fix theme::operator= not copying width or height

Detected by CppCheck, the cur_spec_width_ and cur_spec_height_ assignments
were missing from the move-assignment operator.


  Commit: e22251c163d990e38b5170268334ae69ad408981
      https://github.com/wesnoth/wesnoth/commit/e22251c163d990e38b5170268334ae69ad408981
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-11-07 (Sat, 07 Nov 2020)

  Changed paths:
    M src/theme.cpp

  Log Message:
  -----------
  Merge pull request #5263 from stevecotton/theme_move_assignment

Fix theme::operator= not copying width or height


Compare: https://github.com/wesnoth/wesnoth/compare/ed96d12cad3e...e22251c163d9



More information about the Commits mailing list