neighbor/smbclient: make Server attributes "const"

This commit is contained in:
Max Kellermann 2019-04-16 20:05:11 +02:00
parent 8b9df85daa
commit 2e80477218

View File

@ -37,7 +37,7 @@
class SmbclientNeighborExplorer final : public NeighborExplorer { class SmbclientNeighborExplorer final : public NeighborExplorer {
struct Server { struct Server {
std::string name, comment; const std::string name, comment;
Server(std::string &&_name, std::string &&_comment) Server(std::string &&_name, std::string &&_comment)
:name(std::move(_name)), :name(std::move(_name)),