Skip to content

Commit

Permalink
Fix Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
doyaGu committed Jul 17, 2024
1 parent 6cdf72e commit c099243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ void ConfigurationSection::ClearCallbacks(ConfigurationCallbackType type) {
}

void ConfigurationSection::InvokeCallbacks(ConfigurationCallbackType type, IConfigurationEntry *entry) {
assert(type >= 0 && type <= CFG_CB_MODIFY);
assert(type >= 0 && type < CFG_CB_COUNT);
assert(entry != nullptr);
for (auto &cb: m_Callbacks[type]) {
cb.callback(this, entry, cb.arg);
Expand Down

0 comments on commit c099243

Please sign in to comment.