Use unique_ptr rather than shared_ptr in MockReadCallback.
authorKyle Nekritz <knekritz@fb.com>
Thu, 21 Sep 2017 20:28:03 +0000 (13:28 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 21 Sep 2017 20:35:26 +0000 (13:35 -0700)
commita55a0eb4dbc89e31a34ad5341cd7d4673d5ebe3c
treefd360d7948946dee41dc5ace3db85925238675c1
parent14e3d271b698fac718dcfc56ff9f6ebf93d4fe82
Use unique_ptr rather than shared_ptr in MockReadCallback.

Summary: This is more convenient to use (for example with an IOBufEqual matcher).

Reviewed By: yfeldblum

Differential Revision: D5882029

fbshipit-source-id: 6aa12f80479f40bcc2af64dc270fb0a9382983b5
folly/io/async/test/MockAsyncTransport.h