removing non-existing file from the build
[folly.git] / folly / wangle / codec / ByteToMessageCodec.cpp
index 52ee794ffffe1a220750332a308d9e8679369f80..e16183bbc3e164addb5e752a36901149a29d64ed 100644 (file)
@@ -23,8 +23,7 @@ void ByteToMessageCodec::read(Context* ctx, IOBufQueue& q) {
   while (true) {
     result = decode(ctx, q, needed);
     if (result) {
-      q_.append(std::move(result));
-      ctx->fireRead(q_);
+      ctx->fireRead(std::move(result));
     } else {
       break;
     }