diff --git a/src/node_buffer.h b/src/node_buffer.h index 47b9961e454..909be452f7f 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -37,17 +37,7 @@ class Buffer : public ObjectWrap { static char* Data(v8::Handle); static size_t Length(v8::Handle); - char* data() { - assert(0 && "v0.3 API change: Use node::Buffer::Data()."); - return NULL; - } - - size_t length() const { - assert(0 && "v0.3 API change: Use node::Buffer::Length()."); - return 0; - } - - private: + private: static v8::Persistent constructor_template; static v8::Handle New(const v8::Arguments &args);