Fix typos in function, variable names and in documentation

This commit is contained in:
Torstein Husebø
2025-01-16 13:24:13 +01:00
parent a4241d7008
commit 6004316f1a
17 changed files with 32 additions and 32 deletions

View File

@ -97,11 +97,11 @@ auto AModule::update() -> void {
}
}
// Get mapping between event name and module action name
// Then call overrided doAction in order to call appropriate module action
// Then call overridden doAction in order to call appropriate module action
auto AModule::doAction(const std::string& name) -> void {
if (!name.empty()) {
const std::map<std::string, std::string>::const_iterator& recA{eventActionMap_.find(name)};
// Call overrided action if derrived class has implemented it
// Call overridden action if derived class has implemented it
if (recA != eventActionMap_.cend() && name != recA->second) this->doAction(recA->second);
}
}