projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable find/emplace for key types other than KeyT.
[folly.git]
/
folly
/
IPAddressV6.cpp
diff --git
a/folly/IPAddressV6.cpp
b/folly/IPAddressV6.cpp
index 49a1b23cd8ce12c562cb3834bf30b05dda97d0f5..f88d1b02891867a0c85d7ccb093c9db8b0135d1b 100644
(file)
--- a/
folly/IPAddressV6.cpp
+++ b/
folly/IPAddressV6.cpp
@@
-338,7
+338,7
@@
string IPAddressV6::str() const {
buffer, INET6_ADDRSTRLEN,
nullptr, 0, NI_NUMERICHOST)) {
string ip(buffer);
- return
std::move(ip)
;
+ return
ip
;
} else {
throw IPAddressFormatException("Invalid address with hex ",
"'", detail::Bytes::toHex(bytes(), 16), "'");