[Commits] [wesnoth/wesnoth] 1eca37: Add overloads of config::operator[] for std::strin...

GitHub noreply at github.com
Sat May 6 18:27:04 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1eca3736f65639d8dfc725c9ceee58ee56abdd88
      https://github.com/wesnoth/wesnoth/commit/1eca3736f65639d8dfc725c9ceee58ee56abdd88
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-05-06 (Sat, 06 May 2017)

  Changed paths:
    M src/config.hpp

  Log Message:
  -----------
  Add overloads of config::operator[] for std::string and const char*

This allows the indexing operator to be called with
config::attribute_value that has an implicit conversion operator to
std::string.





More information about the Commits mailing list