doc, fix: typo in merge sort and use vector instead of raw array #8655
awesome_workflow.yml
on: pull_request
Code Formatter
27s
Matrix: Compile checks
Annotations
1 error and 3 warnings
Code Formatter
Process completed with exit code 1.
|
sorting/merge_sort.cpp:99:9 [cppcoreguidelines-init-variables]:
sorting/merge_sort.cpp#L99
variable 'size' is not initialized
|
sorting/merge_sort.cpp:108:5 [cppcoreguidelines-owning-memory]:
sorting/merge_sort.cpp#L108
initializing non-owner 'int *' with a newly created 'gsl::owner<>'
|
sorting/merge_sort.cpp:117:5 [cppcoreguidelines-owning-memory]:
sorting/merge_sort.cpp#L117
deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead
|