summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/connect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/connect.cc b/methods/connect.cc
index e5d17a2f5..fdcf965f8 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 /*{{{*/