diff --git a/include/loot/metadata/plugin_metadata.h b/include/loot/metadata/plugin_metadata.h index 5cec2dd1..44b4e671 100644 --- a/include/loot/metadata/plugin_metadata.h +++ b/include/loot/metadata/plugin_metadata.h @@ -250,21 +250,6 @@ public: * otherwise. */ LOOT_API bool operator!=(const PluginMetadata& rhs) const; - - /** - * Check if object's name value is equal to the given string. - * @returns True if the plugin name is case-insensitively equal to the given - * string, false otherwise. - */ - LOOT_API bool operator==(const std::string& rhs) const; - - /** - * Check if object's name value is not equal to the given string. - * @returns True if the plugin name is not case-insensitively equal to the - * given string, false otherwise. - */ - LOOT_API bool operator!=(const std::string& rhs) const; - private: std::string name_; std::optional group_; diff --git a/src/api/metadata/plugin_metadata.cpp b/src/api/metadata/plugin_metadata.cpp index e79d5cbd..4a4af8ca 100644 --- a/src/api/metadata/plugin_metadata.cpp +++ b/src/api/metadata/plugin_metadata.cpp @@ -215,12 +215,4 @@ bool PluginMetadata::operator==(const PluginMetadata& rhs) const { bool PluginMetadata::operator!=(const PluginMetadata& rhs) const { return !(*this == rhs); } - -bool PluginMetadata::operator==(const std::string& rhs) const { - return *this == PluginMetadata(rhs); -} - -bool PluginMetadata::operator!=(const std::string& rhs) const { - return !(*this == rhs); -} }