Index: fpdfsdk/javascript/JS_Value.cpp |
diff --git a/fpdfsdk/javascript/JS_Value.cpp b/fpdfsdk/javascript/JS_Value.cpp |
index 1b8964bd00ed51b910cf521dfdb1865af006b269..53d6d598334febc6a0faf5d7fcb0d65df51cee92 100644 |
--- a/fpdfsdk/javascript/JS_Value.cpp |
+++ b/fpdfsdk/javascript/JS_Value.cpp |
@@ -82,6 +82,8 @@ CJS_Value::CJS_Value(CJS_Runtime* pRuntime, CJS_Array& array) |
CJS_Value::~CJS_Value() {} |
+CJS_Value::CJS_Value(const CJS_Value& other) = default; |
+ |
void CJS_Value::Attach(v8::Local<v8::Value> pValue, Type t) { |
m_pValue = pValue; |
m_eType = t; |
@@ -410,6 +412,8 @@ CJS_Array::CJS_Array(CJS_Runtime* pRuntime) : m_pJSRuntime(pRuntime) {} |
CJS_Array::~CJS_Array() {} |
+CJS_Array::CJS_Array(const CJS_Array& other) = default; |
+ |
void CJS_Array::Attach(v8::Local<v8::Array> pArray) { |
m_pArray = pArray; |
} |