summaryrefslogtreecommitdiff
path: root/methods/connect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/connect.cc')
-rw-r--r--methods/connect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/connect.cc b/methods/connect.cc
index 1d6f8919d..61968efe0 100644
--- a/methods/connect.cc
+++ b/methods/connect.cc
@@ -262,7 +262,7 @@ static std::vector<struct addrinfo *> OrderAddresses(struct addrinfo *CurHost)
allAddrs.push_back(*otherIter++);
}
- return std::move(allAddrs);
+ return allAddrs;
}
/*}}}*/
// Check for errors and report them /*{{{*/