diff options
author | 2013-01-15 17:07:30 +0800 | |
---|---|---|
committer | 2013-01-17 15:55:05 +0800 | |
commit | 9057801c4bf68d71fc655f78998c2a99525aa174 (patch) | |
tree | 52fe949b0821000ab18f6a745618c9b3fc39d17a /io.cpp | |
parent | 0f443ef37b21bdc7d97db394842055f7b6e755a6 (diff) |
Convert io_buffer_create to static io_buffer_t::create, make io_buffer_t constructor private
Diffstat (limited to 'io.cpp')
-rw-r--r-- | io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ void io_buffer_read(io_buffer_t *d) } -io_buffer_t *io_buffer_create(bool is_input) +io_buffer_t *io_buffer_t::create(bool is_input) { bool success = true; io_buffer_t *buffer_redirect = new io_buffer_t(is_input ? 0 : 1); |