Remove unused function from Plugin class.

This commit is contained in:
Oliver Hamlet
2015-06-11 17:39:17 +01:00
parent b5b10f6e4e
commit 633e44364d
2 changed files with 0 additions and 10 deletions
-9
View File
@@ -557,15 +557,6 @@ namespace loot {
return crc;
}
bool Plugin::MustLoadAfter(const Plugin& plugin) const {
if ((!isMaster && plugin.IsMaster())
|| find(masters.begin(), masters.end(), plugin) != masters.end()
|| find(requirements.begin(), requirements.end(), plugin) != requirements.end()
|| find(loadAfter.begin(), loadAfter.end(), plugin) != loadAfter.end())
return true;
return false;
}
bool Plugin::CheckInstallValidity(const Game& game) {
BOOST_LOG_TRIVIAL(trace) << "Checking that the current install is valid according to " << name << "'s data.";
unsigned int messageType;
-1
View File
@@ -113,7 +113,6 @@ namespace loot {
size_t NumOverrideFormIDs() const;
std::set<FormID> OverlapFormIDs(const Plugin& plugin) const;
std::set<FormID> OverrideFormIDs() const;
bool MustLoadAfter(const Plugin& plugin) const; //Checks masters, reqs and loadAfter.
//Validity checks.
bool CheckInstallValidity(const Game& game); //Checks that reqs and masters are all present, and that no incs are present. Returns true if the plugin is dirty.