From 7bea24293aae2edb54f748101b45f52aca027a96 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 15 Feb 2015 17:58:47 +0100 Subject: Eliminate constant return value of the all events version of ModuleManager::SetPriority() --- src/modules.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules.cpp b/src/modules.cpp index 78e80d63c..e1fb605c0 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -199,12 +199,10 @@ void ModuleManager::DetachAll(Module* mod) Detach((Implementation)n, mod); } -bool ModuleManager::SetPriority(Module* mod, Priority s) +void ModuleManager::SetPriority(Module* mod, Priority s) { for (size_t n = 0; n != I_END; ++n) SetPriority(mod, (Implementation)n, s); - - return true; } bool ModuleManager::SetPriority(Module* mod, Implementation i, Priority s, Module* which) -- cgit v1.2.3