Clean up the io_chain_t interface

This commit is contained in:
ridiculousfish
2019-01-31 18:49:52 -08:00
parent 371f67f1b5
commit b00f039489
4 changed files with 12 additions and 18 deletions

View File

@@ -920,7 +920,7 @@ static void test_parser() {
static void test_1_cancellation(const wchar_t *src) {
shared_ptr<io_buffer_t> out_buff(io_buffer_t::create(STDOUT_FILENO, io_chain_t()));
const io_chain_t io_chain(out_buff);
const io_chain_t io_chain{out_buff};
pthread_t thread = pthread_self();
double delay = 0.25 /* seconds */;
iothread_perform([=]() {