Fix a misplaced doc comment

This commit is contained in:
Celtic Minstrel 2021-07-20 09:45:14 -04:00 committed by Celtic Minstrel
parent 0be3c8466d
commit 0ae97085b6

View file

@ -460,10 +460,6 @@ public:
* and log msg as a WML error (if not empty)
*/
const attribute_value &get_old_attribute(config_key_type key, const std::string &old_key, const std::string& in_tag = "") const;
/**
* Returns a reference to the first child with the given @a key.
* Creates the child if it does not yet exist.
*/
/**
* Inserts an attribute into the config
@ -476,6 +472,10 @@ public:
operator[](key) = std::forward<T>(value);
}
/**
* Returns a reference to the first child with the given @a key.
* Creates the child if it does not yet exist.
*/
config &child_or_add(config_key_type key);
bool has_attribute(config_key_type key) const;