summaryrefslogtreecommitdiff
path: root/fxjs/cjs_globalvariablearray.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_globalvariablearray.h')
-rw-r--r--fxjs/cjs_globalvariablearray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_globalvariablearray.h b/fxjs/cjs_globalvariablearray.h
index a249f60be9..a3f46586b9 100644
--- a/fxjs/cjs_globalvariablearray.h
+++ b/fxjs/cjs_globalvariablearray.h
@@ -17,7 +17,7 @@ class CJS_GlobalVariableArray {
CJS_GlobalVariableArray();
~CJS_GlobalVariableArray();
- void Add(CJS_KeyValue* p);
+ void Add(std::unique_ptr<CJS_KeyValue> pKeyValue);
int Count() const;
CJS_KeyValue* GetAt(int index) const;
void Copy(const CJS_GlobalVariableArray& array);