Bug 836985 follow-up: Make ScriptSourceHolder constructor explicit. r=benjamin.

This commit is contained in:
Nicholas Nethercote 2013-02-03 20:03:06 -08:00
parent eecf7d2754
commit e011bac0c2

View File

@ -1103,7 +1103,7 @@ class ScriptSourceHolder
{
ScriptSource *ss;
public:
ScriptSourceHolder(ScriptSource *ss)
explicit ScriptSourceHolder(ScriptSource *ss)
: ss(ss)
{
ss->incref();