Clang: Print message if message is lost

If there is a message counter mismatch it is very helpful to get message
content.

Change-Id: I4ea2526bd4b72010627e99de08ff9a8e64ca3d02
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Marco Bubke
2016-06-27 16:10:16 +02:00
parent 04b2194781
commit 01316c28f2
5 changed files with 139 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ public:
private:
bool isTheWholeMessageReadable(QDataStream &in);
void checkIfMessageIsLost(QDataStream &in);
bool checkIfMessageIsLost(QDataStream &in);
private:
QIODevice *ioDevice;