Bug 1107639 - Fix build error due to missing explicit keyword on JSExceptionState constructor r=me on a CLOSED TREE

This commit is contained in:
Jon Coppeard 2015-01-23 11:17:15 +00:00
parent cc0b0b6d2a
commit 1870b5871b

View File

@ -5563,7 +5563,7 @@ JS::AutoSaveExceptionState::~AutoSaveExceptionState()
}
struct JSExceptionState {
JSExceptionState(JSContext *cx) : exception(cx) {}
explicit JSExceptionState(JSContext *cx) : exception(cx) {}
bool throwing;
PersistentRootedValue exception;
};