projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Future<Unit> wangle fixup
[folly.git]
/
folly
/
wangle
/
codec
/
StringCodec.h
diff --git
a/folly/wangle/codec/StringCodec.h
b/folly/wangle/codec/StringCodec.h
index cbe0e843b25c722d2da0a3923107fa02b012eec4..0f53a980600231be23901ecc37195a5e7de06102 100644
(file)
--- a/
folly/wangle/codec/StringCodec.h
+++ b/
folly/wangle/codec/StringCodec.h
@@
-37,7
+37,7
@@
class StringCodec : public Handler<std::unique_ptr<IOBuf>, std::string,
ctx->fireRead(data);
}
- Future<
void
> write(Context* ctx, std::string msg) override {
+ Future<
Unit
> write(Context* ctx, std::string msg) override {
auto buf = IOBuf::copyBuffer(msg.data(), msg.length());
return ctx->fireWrite(std::move(buf));
}