Skip to content

helpers: dma_heap: Fix clang compile error#63

Merged
naushir merged 1 commit intomainfrom
clang_fix
Mar 2, 2026
Merged

helpers: dma_heap: Fix clang compile error#63
naushir merged 1 commit intomainfrom
clang_fix

Conversation

@naushir
Copy link
Collaborator

@naushir naushir commented Mar 2, 2026

clang wants about default move assignemnt operator is deleted:

In file included from ../src/helpers/v4l2_device.cpp:9: ../src/helpers/v4l2_device.hpp:38:14: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
38 | V4l2Device &operator=(V4l2Device &&) = default;

Fix this by defaulting the operator.

clang wants about default move assignemnt operator is deleted:

In file included from ../src/helpers/v4l2_device.cpp:9:
../src/helpers/v4l2_device.hpp:38:14: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
   38 |         V4l2Device &operator=(V4l2Device &&) = default;

Fix this by defaulting the operator.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
@naushir naushir merged commit 15e1106 into main Mar 2, 2026
1 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant