Author: ilor
Date: Sat May  2 00:29:09 2009
New Revision: 35403

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35403&view=rev
Log:
make the code call the proper vconfig ctor -- config*,config* instead of 
config&,bool

Modified:
    trunk/src/variable.cpp

Modified: trunk/src/variable.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/variable.cpp?rev=35403&r1=35402&r2=35403&view=diff
==============================================================================
--- trunk/src/variable.cpp (original)
+++ trunk/src/variable.cpp Sat May  2 00:29:09 2009
@@ -312,7 +312,7 @@
 vconfig vconfig::child(const std::string& key) const
 {
        if (const config &natural = cfg_->child(key)) {
-               return vconfig(natural, cache_key_);
+               return vconfig(&natural, cache_key_);
        }
        foreach (const config &ins, cfg_->child_range("insert_tag"))
        {


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to