Definitely removed config::all_children.
This commit is contained in:
parent
bfd9613844
commit
c37154dea4
2 changed files with 2 additions and 10 deletions
|
@ -178,13 +178,6 @@ const config::child_list& config::get_children(const std::string& key) const
|
|||
}
|
||||
}
|
||||
|
||||
const config::child_map& config::all_children() const
|
||||
{
|
||||
check_valid();
|
||||
|
||||
return children;
|
||||
}
|
||||
|
||||
config &config::child(const std::string& key)
|
||||
{
|
||||
check_valid();
|
||||
|
|
|
@ -60,12 +60,12 @@ class config
|
|||
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 @@ public:
|
|||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue