[wesnoth-commits] [wesnoth/wesnoth] 693d5b: Added utils::variant_index

Charles Dang noreply at github.com
Tue Jan 19 05:59:13 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 693d5ba1904985c92c5218a19d16eb90ae7546dd
      https://github.com/wesnoth/wesnoth/commit/693d5ba1904985c92c5218a19d16eb90ae7546dd
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M src/utils/variant.hpp

  Log Message:
  -----------
  Added utils::variant_index


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

  Changed paths:
    M src/ai/composite/value_translator.hpp
    M src/ai/contexts.cpp
    M src/ai/contexts.hpp
    M src/ai/formula/ai.cpp
    M src/ai/lua/core.cpp
    M src/ai/lua/lua_object.hpp
    M src/ai/manager.cpp
    M src/ai/registry.cpp

  Log Message:
  -----------
  AI: converted code to use utils::variant wrapper

lua_aspect_visitor was left unconditionally boost-compatible since it's still used by
config_attribute_value::apply_visitor, and c_a_v still uses boost::variant behind the scenes.


Compare: https://github.com/wesnoth/wesnoth/compare/25bebba84fe7...f41e9047a3c8



More information about the Commits mailing list