Convert all io_data_t copying to shared_ptr copying.

Copy constructor of io_data_t is removed.
This commit is contained in:
Cheer Xiao
2013-01-01 00:37:50 +08:00
parent a9ada13a23
commit 8b10b0a614
3 changed files with 3 additions and 14 deletions

View File

@@ -397,7 +397,7 @@ static bool io_transmogrify(const io_chain_t &in_chain, io_chain_t &out_chain, s
case IO_BUFFER:
case IO_CLOSE:
{
out.reset(new io_data_t(*in));
out = in;
break;
}