mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove unused function from Plugin class.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user