Skip to content

refactor: replace boost::json::error_code with boost::system::error_code #1714

refactor: replace boost::json::error_code with boost::system::error_code

refactor: replace boost::json::error_code with boost::system::error_code #1714

Triggered via pull request May 16, 2024 16:08
Status Success
Total duration 2m 51s
Artifacts

cpp-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
/libs/client-sdk/src/data_sources/data_source_event_handler.cpp:85:5 [bugprone-easily-swappable-parameters]: libs/client-sdk/src/data_sources/data_source_event_handler.cpp#L85
2 adjacent parameters of 'HandleMessage' of similar type ('const std::string &') are easily swapped by mistake
/libs/client-sdk/src/flag_manager/flag_persistence.cpp:38:21 [performance-unnecessary-value-param]: libs/client-sdk/src/flag_manager/flag_persistence.cpp#L38
parameter 'time_stamper' is passed by value and only copied once; consider moving it to avoid unnecessary copies
/libs/client-sdk/src/flag_manager/flag_persistence.cpp:129:60 [performance-move-const-arg]: libs/client-sdk/src/flag_manager/flag_persistence.cpp#L129
passing result of std::move() as a const reference argument; no move will actually happen
/libs/client-sdk/src/flag_manager/flag_persistence.cpp:133:12 [modernize-return-braced-init-list]: libs/client-sdk/src/flag_manager/flag_persistence.cpp#L133
avoid repeating the return type from the declaration; use a braced initializer list instead