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
1 changed files with 1 additions and 1 deletions

View File

@ -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)),