X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fexperimental%2Fbser%2FLoad.cpp;h=4d311f9f99ff45706808efe10c2ec0f34b67be47;hb=7dbf6903172e0454bbc54ddf78a72b3218734b8c;hp=9898de8aeacc8fabba287d49c5ba1ae74c0e94d0;hpb=43d56a22929bd4d591d3d6a5fb5a9bc0894facea;p=folly.git diff --git a/folly/experimental/bser/Load.cpp b/folly/experimental/bser/Load.cpp index 9898de8a..4d311f9f 100644 --- a/folly/experimental/bser/Load.cpp +++ b/folly/experimental/bser/Load.cpp @@ -49,9 +49,9 @@ static int64_t decodeInt(Cursor& curs) { } } -static fbstring decodeString(Cursor& curs) { +static std::string decodeString(Cursor& curs) { auto len = decodeInt(curs); - folly::fbstring str; + std::string str; if (len < 0) { throw std::range_error("string length must not be negative");