neighbor/smbclient: make Server attributes "const"
This commit is contained in:
parent
8b9df85daa
commit
2e80477218
@ -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)),
|
||||
|
Loading…
Reference in New Issue
Block a user