diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-02-15 17:50:41 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-02-15 17:50:41 +0100 |
commit | 9597d205e72b709f1be2645fda17079f6d77386d (patch) | |
tree | 005e52b6329b5a28ba929b9b93cc362575e91308 /src | |
parent | 97e2deac07fbc55d383a9d618cf9d30b9a9136d9 (diff) |
Remove I_BEGIN from enum Implementation
Diffstat (limited to 'src')
-rw-r--r-- | src/modules.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 1c33785b0..78e80d63c 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -189,19 +189,19 @@ void ModuleManager::Attach(Implementation* i, Module* mod, size_t sz) void ModuleManager::AttachAll(Module* mod) { - for (size_t i = I_BEGIN + 1; i != I_END; ++i) + for (size_t i = 0; i != I_END; ++i) Attach((Implementation)i, mod); } void ModuleManager::DetachAll(Module* mod) { - for (size_t n = I_BEGIN + 1; n != I_END; ++n) + for (size_t n = 0; n != I_END; ++n) Detach((Implementation)n, mod); } bool ModuleManager::SetPriority(Module* mod, Priority s) { - for (size_t n = I_BEGIN + 1; n != I_END; ++n) + for (size_t n = 0; n != I_END; ++n) SetPriority(mod, (Implementation)n, s); return true; |