Author: silene
Date: Sat Apr 4 23:31:02 2009
New Revision: 34502
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34502&view=rev
Log:
Removed config::get_children.
Modified:
trunk/src/serialization/preprocessor.cpp
Modified: trunk/src/serialization/preprocessor.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/preprocessor.cpp?rev=34502&r1=34501&r2=34502&view=diff
==============================================================================
--- trunk/src/serialization/preprocessor.cpp (original)
+++ trunk/src/serialization/preprocessor.cpp Sat Apr 4 23:31:02 2009
@@ -86,8 +86,8 @@
linenum = lexical_cast<int>(cfg["linenum"]);
location = cfg["location"];
- foreach (const config *arg, cfg.get_children("argument"))
- read_argument(*arg);
+ foreach (const config &arg, cfg.child_range("argument"))
+ read_argument(arg);
}
preproc_map::value_type preproc_define::read_pair(const config* cfg)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits