Skip to content

🧹 widgets: refactor a bit 3x #94

🧹 widgets: refactor a bit 3x

🧹 widgets: refactor a bit 3x #94

Triggered via push April 30, 2024 09:47
Status Success
Total duration 1m 0s
Artifacts

checks.yml

on: push
cpp-linter
49s
cpp-linter
Check C++ style
21s
Check C++ style
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
/src/widgets.cpp:21:1 [google-build-using-namespace: src/widgets.cpp#L21
do not use namespace using-directives; use using-declarations instead
/src/widgets.cpp:25:9 [modernize-use-trailing-return-type: src/widgets.cpp#L25
use a trailing return type for this function
/src/widgets.cpp:31:9 [performance-move-const-arg: src/widgets.cpp#L31
passing result of std::move() as a const reference argument; no move will actually happen
/src/widgets.cpp:33:20 [performance-move-const-arg: src/widgets.cpp#L33
passing result of std::move() as a const reference argument; no move will actually happen
/src/widgets.cpp:36:104 [cppcoreguidelines-avoid-magic-numbers: src/widgets.cpp#L36
25 is a magic number; consider replacing it with a named constant
/src/widgets.cpp:44:9 [modernize-use-trailing-return-type: src/widgets.cpp#L44
use a trailing return type for this function
/src/widgets.cpp:50:9 [performance-move-const-arg: src/widgets.cpp#L50
passing result of std::move() as a const reference argument; no move will actually happen
/src/widgets.cpp:52:20 [performance-move-const-arg: src/widgets.cpp#L52
passing result of std::move() as a const reference argument; no move will actually happen
/src/widgets.cpp:59:11 [modernize-use-trailing-return-type: src/widgets.cpp#L59
use a trailing return type for this function
/src/widgets.cpp:74:9 [modernize-use-trailing-return-type: src/widgets.cpp#L74
use a trailing return type for this function
Check C++ style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cpp-linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.