Azure / Azure/azure-sdk-for-cpp

self-move Warning Flagged as Error by Trixie Compiler

Open
#6,834 2 comments 2 reactions 0 assignees View on GitHub
Azure.Core customer-reported needs-triage question
Dominant language
C++
Stars
205
Forks
172
Avg merge
1d 3h
Merged PRs (30d)
37

Description

**Query/Question**
In sdk/tables/azure-data-tables/src/table_clients.cpp on line 402 there is this line of code:
`response.RawResponse = std::move(response.RawResponse);`
which Debian Trixie compiler identified as a self-move warning that's then flagged as an error.

***Why is this not a Bug or a feature Request?***
The line of code in question doesn't seem to do anything. Is this a bug or does this line of code actually serve a purpose? If it does serve a purpose, can it be done in a different way so the Debian Trixie compiler can compile this code to completion?

Thank you,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.