diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-08-16 12:20:06 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-30 13:15:10 +0200 |
commit | d349f981fbe70fb11e3db4c486f59749ffe74c2b (patch) | |
tree | 8de831914936c0af823fb4969193e58481275a48 /src/modules.cpp | |
parent | c202dea024542b9c6c6b771bb9a3a081d9eacdc5 (diff) |
Remove ModuleManager::GetAllModuleNames(), use GetModules() instead
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index d581b76a5..b6a28193a 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -560,15 +560,6 @@ Module* ModuleManager::Find(const std::string &name) return modfind->second; } -const std::vector<std::string> ModuleManager::GetAllModuleNames(int filter) -{ - std::vector<std::string> retval; - for (std::map<std::string, Module*>::iterator x = Modules.begin(); x != Modules.end(); ++x) - if (!filter || (x->second->GetVersion().Flags & filter)) - retval.push_back(x->first); - return retval; -} - FileReader::FileReader(const std::string& filename) { Load(filename); |