From 3c16330c2dad1559445dbbadc5c3a3f020a8a9b7 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Thu, 29 Apr 2021 12:55:22 +0200 Subject: QLocalSocket: declare operators for the SocketOptions flag The flag existed, without the operators. Change-Id: I386f76b358422fbfc3fbd7b227901803ec27202d Reviewed-by: Thiago Macieira --- src/network/socket/qlocalsocket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/socket') diff --git a/src/network/socket/qlocalsocket.h b/src/network/socket/qlocalsocket.h index ed981b5eb8..c05308d516 100644 --- a/src/network/socket/qlocalsocket.h +++ b/src/network/socket/qlocalsocket.h @@ -163,6 +163,8 @@ Q_NETWORK_EXPORT QDebug operator<<(QDebug, QLocalSocket::LocalSocketError); Q_NETWORK_EXPORT QDebug operator<<(QDebug, QLocalSocket::LocalSocketState); #endif +Q_DECLARE_OPERATORS_FOR_FLAGS(QLocalSocket::SocketOptions) + QT_END_NAMESPACE #endif // QLOCALSOCKET_H -- cgit v1.2.3