projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch implicit references of folly::make_unique to std::make_unique
[folly.git]
/
folly
/
io
/
Cursor.h
diff --git
a/folly/io/Cursor.h
b/folly/io/Cursor.h
index 5a8a32a606eab577c6602b16f848c904097c4c9a..ff9082b056020bab4a756d6dd652e6213e8bda16 100644
(file)
--- a/
folly/io/Cursor.h
+++ b/
folly/io/Cursor.h
@@
-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);
}