From 2e80477218f32a88252e897e3e49c125c0fdcc70 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@musicpd.org>
Date: Tue, 16 Apr 2019 20:05:11 +0200
Subject: [PATCH] neighbor/smbclient: make Server attributes "const"

---
 src/neighbor/plugins/SmbclientNeighborPlugin.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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