Switch implicit references of folly::make_unique to std::make_unique
[folly.git] / folly / io / Cursor.h
index 5a8a32a606eab577c6602b16f848c904097c4c9a..ff9082b056020bab4a756d6dd652e6213e8bda16 100644 (file)
@@ -439,7 +439,7 @@ class CursorBase {
 
   size_t cloneAtMost(std::unique_ptr<folly::IOBuf>& buf, size_t len) {
     if (!buf) {
-      buf = make_unique<folly::IOBuf>();
+      buf = std::make_unique<folly::IOBuf>();
     }
     return cloneAtMost(*buf, len);
   }