[Commits] [wesnoth/wesnoth] 237a1a: Fix compilation on MSVC.

GitHub noreply at github.com
Sun Mar 2 21:08:39 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 237a1a0dc4e402f93255cfc44a945fd1dd3349db
      https://github.com/wesnoth/wesnoth/commit/237a1a0dc4e402f93255cfc44a945fd1dd3349db
  Author: JaMiT <jt_coding at zoho.com>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M src/utils/smart_list.hpp

  Log Message:
  -----------
  Fix compilation on MSVC.

MSVC was throwing error C2244 when trying to match some function
definitions to their declarations. This commit moves those
definitions to their declarations. The declarations are harder
for a human to read now, but at least all supported compilers
can understand it.





More information about the Commits mailing list