QCryptographicHash: make constructor explicit

The copy constructor of QCH is disabled, so there's
no point in providing an implicit conversion from
the Algorithm enum anyway, so make the ctor explicit.

Change-Id: I4ea74ffb0963b4f49415da17778c3e6050454a6b
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Marc Mutz 2012-02-28 22:39:07 +01:00 committed by Qt by Nokia
parent 486bde8372
commit 1ff1486d53

View File

@ -65,7 +65,7 @@ public:
Sha512
};
QCryptographicHash(Algorithm method);
explicit QCryptographicHash(Algorithm method);
~QCryptographicHash();
void reset();