Skip to content

Work in progress

Work in progress #145

Triggered via push October 4, 2024 19:19
Status Failure
Total duration 1m 26s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
lint
Process completed with exit code 1.
src/entity.cpp:14:1 [cppcoreguidelines-pro-type-member-init]: src/entity.cpp#L14
constructor does not initialize these fields: _id, _fn, _onmail
src/entity.cpp:22:33 [modernize-use-trailing-return-type]: src/entity.cpp#L22
use a trailing return type for this function
src/entity.cpp:26:18 [modernize-use-trailing-return-type]: src/entity.cpp#L26
use a trailing return type for this function
src/entity.cpp:28:1 [readability-const-return-type]: src/entity.cpp#L28
return type 'const framework::entityprops' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
src/entity.cpp:28:27 [modernize-use-trailing-return-type]: src/entity.cpp#L28
use a trailing return type for this function
src/entity.cpp:32:36 [performance-unnecessary-value-param]: src/entity.cpp#L32
the parameter 'props' is copied for each invocation but only used as a const reference; consider making it a const reference
src/entity.cpp:36:17 [modernize-use-trailing-return-type]: src/entity.cpp#L36
use a trailing return type for this function
src/entity.cpp:40:17 [modernize-use-trailing-return-type]: src/entity.cpp#L40
use a trailing return type for this function
src/entity.cpp:86:14 [readability-convert-member-functions-to-static]: src/entity.cpp#L86
method 'set_placement' can be made static
src/entity.cpp:86:56 [readability-named-parameter]: src/entity.cpp#L86
all parameters should be named in a function