Fix formatting

This commit is contained in:
Jonas Kvinge
2019-02-20 21:29:14 +01:00
parent 87fd93a1cf
commit 55f610f3b2
3 changed files with 6 additions and 9 deletions

View File

@@ -43,8 +43,7 @@ class _MessageHandlerBase : public QObject {
Q_OBJECT Q_OBJECT
public: public:
// device can be NULL, in which case you must call SetDevice before writing // device can be nullptr, in which case you must call SetDevice before writing any messages.
// any messages.
_MessageHandlerBase(QIODevice *device, QObject *parent); _MessageHandlerBase(QIODevice *device, QObject *parent);
void SetDevice(QIODevice *device); void SetDevice(QIODevice *device);
@@ -176,4 +175,3 @@ void AbstractMessageHandler<MT>::AbortAll() {
} }
#endif // MESSAGEHANDLER_H #endif // MESSAGEHANDLER_H

View File

@@ -53,8 +53,7 @@ protected:
QSemaphore semaphore_; QSemaphore semaphore_;
}; };
// A reply future class that is returned immediately for requests that will // A reply future class that is returned immediately for requests that will occur in the background. Similar to QNetworkReply.
// occur in the background. Similar to QNetworkReply.
template <typename MessageType> template <typename MessageType>
class MessageReply : public _MessageReplyBase { class MessageReply : public _MessageReplyBase {
public: public: