#
ab995c50 |
| 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
fd: avoid move-to-self
When compiling with C++23, GCC-13 raises the following compiler failure: ``` ../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Wer
fd: avoid move-to-self
When compiling with C++23, GCC-13 raises the following compiler failure: ``` ../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Werror=self-move] ```
Switch to an explicit `static_cast` to test the same functionality but avoid the error.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I81e36b05d51fd8b11b1e99d62426dd516c3676ed
show more ...
|
#
7ba248ad |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I3a681a9dd632fc31b26bf2df50de0cf4b65f8ec0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|