mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 763580 - Fix Clang warning in SpreadContext copy constructor. r=bpeterson
This commit is contained in:
parent
2c6246852d
commit
3af761e21d
@ -1029,7 +1029,7 @@ public:
|
||||
JS_ASSERT(array->isArray());
|
||||
}
|
||||
SpreadContext(SpreadContext &scx)
|
||||
: cx(cx), arr(scx.cx, scx.arr), count(scx.count) {}
|
||||
: cx(scx.cx), arr(scx.cx, scx.arr), count(scx.count) {}
|
||||
bool operator ()(JSContext *cx, const Value &item) {
|
||||
if (*count == INT32_MAX) {
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user