diff options
author | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-01 00:37:50 +0800 |
---|---|---|
committer | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-01 00:37:50 +0800 |
commit | 8b10b0a614948eeb3c8443a9be37400d7f733287 (patch) | |
tree | e0201256adf92925b2f782b837cb14da40dbca49 /io.h | |
parent | a9ada13a23a9f13af2520fbb2b49b59ec5ead085 (diff) |
Convert all io_data_t copying to shared_ptr copying.
Copy constructor of io_data_t is removed.
Diffstat (limited to 'io.h')
-rw-r--r-- | io.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -107,17 +107,6 @@ public: { } - io_data_t(const io_data_t &rhs) : - out_buffer(rhs.out_buffer), - io_mode(rhs.io_mode), - fd(rhs.fd), - param1(rhs.param1), - param2(rhs.param2), - filename_cstr(rhs.filename_cstr ? strdup(rhs.filename_cstr) : NULL), - is_input(rhs.is_input) - { - } - ~io_data_t() { free((void *)filename_cstr); |