Skip to content

Commit

Permalink
Config: fixed typo in function name
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Vultraz committed Feb 21, 2018
1 parent e270a7c commit 35d9b30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config.cpp
Expand Up @@ -306,7 +306,7 @@ void config::append(config&& cfg)
values_[v.first] = v.second;
}
}
cfg.clear_attibutes();
cfg.clear_attributes();
}

void config::append_children_by_move(config& cfg, const std::string& key)
Expand Down Expand Up @@ -819,7 +819,7 @@ void config::clear_all_children()
ordered_children.clear();
}

void config::clear_attibutes()
void config::clear_attributes()
{
// No validity check for this function.
values_.clear();
Expand Down
2 changes: 1 addition & 1 deletion src/config.hpp
Expand Up @@ -527,7 +527,7 @@ class config

void clear();
void clear_all_children();
void clear_attibutes();
void clear_attributes();
bool empty() const;

std::string debug() const;
Expand Down

0 comments on commit 35d9b30

Please sign in to comment.