Use std::string in folly::dynamic
[folly.git] / folly / experimental / bser / Load.cpp
index 9898de8aeacc8fabba287d49c5ba1ae74c0e94d0..4d311f9f99ff45706808efe10c2ec0f34b67be47 100644 (file)
@@ -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");