Index: gin/array_buffer.cc |
diff --git a/gin/array_buffer.cc b/gin/array_buffer.cc |
index e8e234e5db1a21a16407319e5c36bcb8d6ecde73..ee9f2a5867b21a970daec17881ba4411a2631762 100644 |
--- a/gin/array_buffer.cc |
+++ b/gin/array_buffer.cc |
@@ -127,6 +127,13 @@ ArrayBuffer::ArrayBuffer(v8::Isolate* isolate, |
ArrayBuffer::~ArrayBuffer() { |
} |
+ArrayBuffer& ArrayBuffer::operator=(const ArrayBuffer& other) { |
+ private_ = other.private_; |
+ bytes_ = other.bytes_; |
+ num_bytes_ = other.num_bytes_; |
+ return *this; |
+} |
+ |
// Converter<ArrayBuffer> ----------------------------------------------------- |
bool Converter<ArrayBuffer>::FromV8(v8::Isolate* isolate, |