Warn if result of processInPlace() is unchecked.

Fix callers accordingly.
This commit is contained in:
Felix Geyer 2015-05-09 19:57:16 +02:00
parent a762cef0a9
commit f6243675c9
7 changed files with 13 additions and 11 deletions

View file

@ -29,7 +29,7 @@ public:
bool init(const QByteArray& key);
QByteArray randomBytes(int size, bool* ok);
QByteArray process(const QByteArray& data, bool* ok);
bool processInPlace(QByteArray& data);
bool processInPlace(QByteArray& data) Q_REQUIRED_RESULT;
QString errorString() const;
private: