Author: silene
Date: Sun Apr 12 16:13:49 2009
New Revision: 34786

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34786&view=rev
Log:
Removed config::const_attribute_iterator default constructor. Defaulted its 
copy constructor.

Modified:
    trunk/src/config.hpp

Modified: trunk/src/config.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/config.hpp?rev=34786&r1=34785&r2=34786&view=diff
==============================================================================
--- trunk/src/config.hpp (original)
+++ trunk/src/config.hpp Sun Apr 12 16:13:49 2009
@@ -161,8 +161,7 @@
                typedef const attribute *pointer;
                typedef const attribute &reference;
                typedef string_map::const_iterator Itor;
-               explicit const_attribute_iterator(const Itor &i = Itor()): 
i_(i) {}
-               const_attribute_iterator(const const_attribute_iterator &i): 
i_(i.i_) {}
+               explicit const_attribute_iterator(const Itor &i): i_(i) {}
 
                const_attribute_iterator &operator++() { ++i_; return *this; }
                const_attribute_iterator operator++(int) { return 
const_attribute_iterator(i_++); }


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

Reply via email to