aboutsummaryrefslogtreecommitdiffstats
path: root/src/neighbor/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/neighbor/plugins')
-rw-r--r--src/neighbor/plugins/SmbclientNeighborPlugin.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
index 8dc537e94..f7085c03d 100644
--- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
+++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx
@@ -122,12 +122,7 @@ ReadServer(NeighborExplorer::List &list, const smbc_dirent &e)
const std::string name(e.name, e.namelen);
const std::string comment(e.comment, e.commentlen);
- NeighborInfo info{
- "smb://" + name,
- name + " (" + comment + ")",
- };
-
- list.emplace_front(std::move(info));
+ list.emplace_front("smb://" + name, name + " (" + comment + ")");
}
static void