Skip to content

Fix linter warnings #981

Fix linter warnings

Fix linter warnings #981

Triggered via pull request February 21, 2025 10:02
Status Failure
Total duration 13m 31s
Artifacts

cpp-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
cpp-linter
Process completed with exit code 1.
include/VSSModel.hpp:13:12 [performance-enum-size]: include/VSSModel.hpp#L13
enum 'ModelType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size
include/VSSModel.hpp:68:56 [readability-redundant-member-init]: include/VSSModel.hpp#L68
initializer for member 'separation_functions' is redundant
include/VSSModel.hpp:77:35 [misc-include-cleaner]: include/VSSModel.hpp#L77
no header providing "std::move" is directly included
include/CustomExceptions.hpp:78:39 [misc-include-cleaner]: include/CustomExceptions.hpp#L78
no header providing "size_t" is directly included
include/EOMHelper.hpp:77:12 [performance-enum-size]: include/EOMHelper.hpp#L77
enum 'MATimingStrategy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size
include/MultiArray.hpp:3:1 [misc-include-cleaner]: include/MultiArray.hpp#L3
included header memory is not used directly
include/Definitions.hpp:20:12 [performance-enum-size]: include/Definitions.hpp#L20
enum 'VertexType' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size
include/Definitions.hpp:21:12 [performance-enum-size]: include/Definitions.hpp#L21
enum 'SolutionStatus' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size
include/Definitions.hpp:28:12 [performance-enum-size]: include/Definitions.hpp#L28
enum 'ExportOption' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size
include/Definitions.hpp:36:12 [performance-enum-size]: include/Definitions.hpp#L36
enum 'OptimalityStrategy' uses a larger base type ('int', size: 4 bytes) than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the base type to reduce its size