Work in progress #152
Annotations
1 error and 10 warnings
lint
Process completed with exit code 1.
|
src/entity.cpp:11:1 [cppcoreguidelines-pro-type-member-init]:
src/entity.cpp#L11
constructor does not initialize these fields: _id, _onupdate, _onanimationfinished, _onmail
|
src/entity.cpp:19:33 [modernize-use-trailing-return-type]:
src/entity.cpp#L19
use a trailing return type for this function
|
src/entity.cpp:23:18 [modernize-use-trailing-return-type]:
src/entity.cpp#L23
use a trailing return type for this function
|
src/entity.cpp:25:1 [readability-const-return-type]:
src/entity.cpp#L25
return type 'const std::string' (aka 'const int') is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
|
src/entity.cpp:25:27 [modernize-use-trailing-return-type]:
src/entity.cpp#L25
use a trailing return type for this function
|
src/entity.cpp:27:1 [readability-const-return-type]:
src/entity.cpp#L27
return type 'const framework::entityprops' is 'const'-qualified at the top level, which may reduce code readability without improving const correctness
|
src/entity.cpp:27:27 [modernize-use-trailing-return-type]:
src/entity.cpp#L27
use a trailing return type for this function
|
src/entity.cpp:31:36 [performance-unnecessary-value-param]:
src/entity.cpp#L31
the parameter 'props' is copied for each invocation but only used as a const reference; consider making it a const reference
|
src/entity.cpp:35:17 [modernize-use-trailing-return-type]:
src/entity.cpp#L35
use a trailing return type for this function
|
src/entity.cpp:39:17 [modernize-use-trailing-return-type]:
src/entity.cpp#L39
use a trailing return type for this function
|