[wesnoth-commits] [wesnoth/wesnoth] 3d8e37: Implemented a wrapper for std::variant for MacOS c...

Charles Dang noreply at github.com
Tue Jan 19 00:54:38 UTC 2021


  Branch: refs/heads/std-variant-test
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3d8e375e71a89b44f4255dc894bbacff95bbc8b0
      https://github.com/wesnoth/wesnoth/commit/3d8e375e71a89b44f4255dc894bbacff95bbc8b0
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/scripting/lua_unit.cpp
    M src/units/filter.cpp
    M src/units/unit.cpp
    M src/units/unit.hpp
    A src/utils/variant.hpp

  Log Message:
  -----------
  Implemented a wrapper for std::variant for MacOS compatibility


  Commit: 8f510dcff32a4bd30a24a36d9f7859fd3635523a
      https://github.com/wesnoth/wesnoth/commit/8f510dcff32a4bd30a24a36d9f7859fd3635523a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/scripting/lua_unit.cpp

  Log Message:
  -----------
  Attempt to fix mingw compilation with std::variant

For some reason, it had no issue storing a value of a long long int in the variant with boost::variant.


Compare: https://github.com/wesnoth/wesnoth/compare/b5a87f8d86fe...8f510dcff32a



More information about the Commits mailing list