No bug - Make NameResolver constructor explicit. r=sfink

This commit is contained in:
Benjamin Peterson 2012-09-11 16:25:12 -04:00
parent a18a2f4b69
commit 43a852b530

View File

@ -264,7 +264,7 @@ class NameResolver
}
public:
NameResolver(JSContext *cx) : cx(cx), nparents(0), buf(NULL) {}
explicit NameResolver(JSContext *cx) : cx(cx), nparents(0), buf(NULL) {}
/*
* Resolve all names for anonymous functions recursively within the