projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba690ca
)
Uri: switch to std::string over fbstring take 2
author
Sonia Mar
<frumious@fb.com>
Wed, 7 Jun 2017 18:30:55 +0000
(11:30 -0700)
committer
Facebook Github Bot
<facebook-github-bot@users.noreply.github.com>
Wed, 7 Jun 2017 18:36:34 +0000
(11:36 -0700)
Summary: Update tuple generated for hash/equal_to for `folly::Uri` to also use std::string
Reviewed By: Orvid
Differential Revision:
D5199266
fbshipit-source-id:
bcd619dae01ffbf82fbb5c8987b0e87103572452
folly/Uri-inl.h
patch
|
blob
|
history
diff --git
a/folly/Uri-inl.h
b/folly/Uri-inl.h
index 86a63a0cd95d08adb11132e88c2157774907df6f..6445eef36b4af5672152a95220e0f725821358c4 100644
(file)
--- a/
folly/Uri-inl.h
+++ b/
folly/Uri-inl.h
@@
-29,14
+29,14
@@
namespace folly {
namespace uri_detail {
using UriTuple = std::tuple<
- const
fb
string&,
- const
fb
string&,
- const
fb
string&,
- const
fb
string&,
+ const
std::
string&,
+ const
std::
string&,
+ const
std::
string&,
+ const
std::
string&,
uint16_t,
- const
fb
string&,
- const
fb
string&,
- const
fb
string&>;
+ const
std::
string&,
+ const
std::
string&,
+ const
std::
string&>;
inline UriTuple as_tuple(const folly::Uri& k) {
return UriTuple(