Author: silene
Date: Sun Apr  5 11:44:25 2009
New Revision: 34528

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34528&view=rev
Log:
Definitely removed config::all_children.

Modified:
    trunk/src/config.cpp
    trunk/src/config.hpp

Modified: trunk/src/config.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/config.cpp?rev=34528&r1=34527&r2=34528&view=diff
==============================================================================
--- trunk/src/config.cpp (original)
+++ trunk/src/config.cpp Sun Apr  5 11:44:25 2009
@@ -176,13 +176,6 @@
                static const child_list dummy;
                return dummy;
        }
-}
-
-const config::child_map& config::all_children() const
-{
-       check_valid();
-
-       return children;
 }
 
 config &config::child(const std::string& key)

Modified: trunk/src/config.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/config.hpp?rev=34528&r1=34527&r2=34528&view=diff
==============================================================================
--- trunk/src/config.hpp (original)
+++ trunk/src/config.hpp Sun Apr  5 11:44:25 2009
@@ -60,12 +60,12 @@
        static config invalid;
 
        /**
-        * Raises an exception if this is not valid.
+        * Raises an exception if @a this is not valid.
         */
        void check_valid() const;
 
        /**
-        * Raises an exception if this of @a cfg is not valid.
+        * Raises an exception if @a this or @a cfg is not valid.
         */
        void check_valid(const config &cfg) const;
 
@@ -186,7 +186,6 @@
        size_t child_count(const std::string& key) const;
 
        const child_list& get_children(const std::string& key) const;
-       const child_map& all_children() const;
 
        /**
         * Copies the first child with the given @a key, or an empty config if 
there is none.


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

Reply via email to