diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx index 82ce13ac1..8e14ca0e4 100644 --- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx +++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx @@ -37,7 +37,7 @@ class SmbclientNeighborExplorer final : public NeighborExplorer { struct Server { - std::string name, comment; + const std::string name, comment; Server(std::string &&_name, std::string &&_comment) :name(std::move(_name)),