diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx index 4ed196bef..82ce13ac1 100644 --- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx +++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx @@ -39,11 +39,10 @@ class SmbclientNeighborExplorer final : public NeighborExplorer { struct Server { std::string name, comment; - bool alive; - Server(std::string &&_name, std::string &&_comment) - :name(std::move(_name)), comment(std::move(_comment)), - alive(true) {} + :name(std::move(_name)), + comment(std::move(_comment)) {} + Server(const Server &) = delete; gcc_pure