Bug 1060993 - Fix more bad implicit constructors in spellchecker; r=smaug

This commit is contained in:
Ehsan Akhgari 2014-08-31 21:09:33 -04:00
parent 244e9a84ea
commit e861861ca4
4 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ namespace mozilla {
class RemoteSpellcheckEngineChild : public mozilla::PRemoteSpellcheckEngineChild
{
public:
RemoteSpellcheckEngineChild(mozSpellChecker *aOwner);
explicit RemoteSpellcheckEngineChild(mozSpellChecker *aOwner);
~RemoteSpellcheckEngineChild();
private:

View File

@ -60,7 +60,7 @@ private:
NS_DECL_ISUPPORTS
NS_DECL_NSISIMPLEENUMERATOR
AppendingEnumerator(nsISimpleEnumerator* aBase);
explicit AppendingEnumerator(nsISimpleEnumerator* aBase);
private:
~AppendingEnumerator() {}

View File

@ -35,7 +35,7 @@ class mozInlineSpellResume;
class mozInlineSpellStatus
{
public:
mozInlineSpellStatus(mozInlineSpellChecker* aSpellChecker);
explicit mozInlineSpellStatus(mozInlineSpellChecker* aSpellChecker);
nsresult InitForEditorChange(EditAction aAction,
nsIDOMNode* aAnchorNode, int32_t aAnchorOffset,

View File

@ -49,7 +49,7 @@ NS_IMPL_CYCLE_COLLECTION(mozPersonalDictionary, mEncoder)
class mozPersonalDictionaryLoader MOZ_FINAL : public nsRunnable
{
public:
mozPersonalDictionaryLoader(mozPersonalDictionary *dict) : mDict(dict)
explicit mozPersonalDictionaryLoader(mozPersonalDictionary *dict) : mDict(dict)
{
}