projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use std::string in folly::dynamic
[folly.git]
/
folly
/
experimental
/
bser
/
Load.cpp
diff --git
a/folly/experimental/bser/Load.cpp
b/folly/experimental/bser/Load.cpp
index 9898de8aeacc8fabba287d49c5ba1ae74c0e94d0..4d311f9f99ff45706808efe10c2ec0f34b67be47 100644
(file)
--- a/
folly/experimental/bser/Load.cpp
+++ b/
folly/experimental/bser/Load.cpp
@@
-49,9
+49,9
@@
static int64_t decodeInt(Cursor& curs) {
}
}
}
}
-static
fb
string decodeString(Cursor& curs) {
+static
std::
string decodeString(Cursor& curs) {
auto len = decodeInt(curs);
auto len = decodeInt(curs);
-
folly::fb
string str;
+
std::
string str;
if (len < 0) {
throw std::range_error("string length must not be negative");
if (len < 0) {
throw std::range_error("string length must not be negative");