QGrpcOperationContext: add nodiscard to descriptor() and document it
Add the missing [[nodiscard]] specifier to prevent accidental misuse,
and provide documentation for the method.
Found during the Qt 6.11 API review.
Pick-to: 6.11
Change-Id: I6caa28131eb2a9c81c582528a2509abd78d18f6c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
| commit | eb1969c036760502a620b5b3e10f6c4f08cb6022 |
| parent | 78e6927cb18d481d69095d4e806e8921fb4fc9a3 |
| author | Dennis Oberst <dennis.oberst@qt.io> |
| committer | Dennis Oberst <dennis.oberst@qt.io> |
| commit time | Thu, 12 Feb 2026 17:14:25 +0100 |