aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.h
diff options
context:
space:
mode:
authorGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-01-01 00:37:50 +0800
committerGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-01-01 00:37:50 +0800
commit8b10b0a614948eeb3c8443a9be37400d7f733287 (patch)
treee0201256adf92925b2f782b837cb14da40dbca49 /io.h
parenta9ada13a23a9f13af2520fbb2b49b59ec5ead085 (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.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/io.h b/io.h
index 6e4d9904..af6f71bb 100644
--- a/io.h
+++ b/io.h
@@ -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);