diff --git a/include/loot/plugin_interface.h b/include/loot/plugin_interface.h index 9dfc7316..89041e63 100644 --- a/include/loot/plugin_interface.h +++ b/include/loot/plugin_interface.h @@ -45,12 +45,6 @@ public: */ virtual std::string GetName() const = 0; - /** - * Get the plugin's filename in lowercase characters. - * @return The lowercased plugin filename. - */ - virtual std::string GetLowercasedName() const = 0; - /** * Get the plugin's version number from its description field. * @@ -117,21 +111,4 @@ public: }; } -namespace std { -/** - * A specialisation of std::hash for loot::PluginInterface. - */ -template<> -struct hash { - /** - * Calculate a hash value for an object of a class that implements - * loot::PluginInterface. - * @return The hash generated from the plugin's lowercased filename. - */ - size_t operator()(const loot::PluginInterface& plugin) const { - return hash()(plugin.GetLowercasedName()); - } -}; -} - #endif