projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0db1b
)
Fix an issue in IOBufQueue::move
author
Tudor Bosman
<tudorb@fb.com>
Sat, 14 Jul 2012 05:56:13 +0000
(22:56 -0700)
committer
Jordan DeLong
<jdelong@fb.com>
Thu, 2 Aug 2012 08:54:20 +0000
(
01:54
-0700)
Summary: That's all.
Test Plan: .
Reviewed By: philipp@fb.com
FB internal diff:
D520116
folly/experimental/io/IOBufQueue.h
patch
|
blob
|
history
diff --git
a/folly/experimental/io/IOBufQueue.h
b/folly/experimental/io/IOBufQueue.h
index 8883417f0373d22dbbff2608368e7eb11333c214..2dfc7e794ad3f81534958b2c38362ace4422363e 100644
(file)
--- a/
folly/experimental/io/IOBufQueue.h
+++ b/
folly/experimental/io/IOBufQueue.h
@@
-182,7
+182,7
@@
class IOBufQueue {
/**
* Transfer ownership of the queue's entire IOBuf chain to the caller.
*/
- std::unique_ptr<folly::IOBuf>
&&
move() {
+ std::unique_ptr<folly::IOBuf> move() {
chainLength_ = 0;
return std::move(head_);
}