[Commits] [wesnoth/wesnoth] 9c8568: Use a class template for surface_lock and const_su...

GitHub noreply at github.com
Mon May 8 05:54:30 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9c85689914c0c8cad99e3463a8f99ba5f383e3ab
      https://github.com/wesnoth/wesnoth/commit/9c85689914c0c8cad99e3463a8f99ba5f383e3ab
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-08 (Mon, 08 May 2017)

  Changed paths:
    M src/sdl/surface.cpp
    M src/sdl/surface.hpp

  Log Message:
  -----------
  Use a class template for surface_lock and const_surface_lock

Note that pixels in surface_lock used to be non-const. However, it seems to build with the function
marked const in both cases.





More information about the Commits mailing list