summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-16 12:20:06 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-30 13:15:10 +0200
commitd349f981fbe70fb11e3db4c486f59749ffe74c2b (patch)
tree8de831914936c0af823fb4969193e58481275a48 /src/modules.cpp
parentc202dea024542b9c6c6b771bb9a3a081d9eacdc5 (diff)
Remove ModuleManager::GetAllModuleNames(), use GetModules() instead
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp9
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);