Commit 70109461 authored by Dave Watson's avatar Dave Watson

fix build

Summary: bad merge with D1661169 caused a unittest to fail.  Update unittest

Test Plan: fbconfig -r folly/experimental/wangle; fbmake runtests

Reviewed By: jsedgwick@fb.com

Subscribers: doug, fugalh, njormrod, folly-diffs@

FB internal diff: D1698435

Signature: t1:1698435:1416611458:555b6b50baa1bc5850b10e19c9c94978f93f2a5a
parent 2cfb9ed6
......@@ -24,8 +24,7 @@
using namespace folly::wangle;
using namespace folly;
typedef ChannelHandlerAdapter<IOBuf> BytesPassthrough;
typedef ChannelPipeline<BytesPassthrough> Pipeline;
typedef ChannelPipeline<IOBufQueue&, std::unique_ptr<IOBuf>> Pipeline;
class TestServer : public ServerBootstrap<Pipeline> {
Pipeline* newPipeline(std::shared_ptr<AsyncSocket>) {
......@@ -49,7 +48,7 @@ class TestPipelineFactory : public PipelineFactory<Pipeline> {
public:
Pipeline* newPipeline(std::shared_ptr<AsyncSocket> sock) {
pipelines++;
return new Pipeline(BytesPassthrough());
return new Pipeline();
}
std::atomic<int> pipelines{0};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment