diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2024-04-02 14:00:34 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2024-04-04 14:55:31 +0200 |
commit | 46715638f403299ce2e0236a38f9cc0ffe6bb1c3 (patch) | |
tree | f986240cc34e4e7688ca31d5e891a7b21e962132 | |
parent | adac139e17ae5fcabcc786c62b67f05659f7fb76 (diff) |
Use Q_UNREACHABLE_RETURN in QAbstractGrpcClient::startStream
Task-number: QTBUG-123625
Change-Id: I2438fb3ba80e98fb2a7d14059b2192effedc8863
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
-rw-r--r-- | src/grpc/qabstractgrpcclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grpc/qabstractgrpcclient.h b/src/grpc/qabstractgrpcclient.h index 0325037..6f773bf 100644 --- a/src/grpc/qabstractgrpcclient.h +++ b/src/grpc/qabstractgrpcclient.h @@ -67,7 +67,7 @@ protected: } else if constexpr (std::is_same_v<StreamType, QGrpcBidirStream>) { return startBidirStream(method, *argData, options); } - return {}; + Q_UNREACHABLE_RETURN({}); } private: |