[Commits] [wesnoth/wesnoth] b6282d: use c++11 heterogeneous map lookups in config if p...
GitHub
noreply at github.com
Fri Apr 1 01:18:11 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: b6282d866293c615e2fa4ebff06b4600da3ac663
https://github.com/wesnoth/wesnoth/commit/b6282d866293c615e2fa4ebff06b4600da3ac663
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2016-04-01 (Fri, 01 Apr 2016)
Changed paths:
M src/config.cpp
M src/config.hpp
Log Message:
-----------
use c++11 heterogeneous map lookups in config if possible.
this means that codes like cfg.child("abcd") or cfg["abcd"] won't create
a temporary std::string anymore. At least when cfg is const.
More information about the Commits
mailing list