intel / intel/qpl

Improve exception safety with smart pointers

Open
#53 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
110
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Would you like to wrap any pointers with the class template “[std::unique_ptr](https://en.wikipedia.org/wiki/Smart_pointer#unique_ptr "Description for the usage of smart pointers")”?

Update candidates:
- [gz_generator::AllZeroLiteralLengthCodesConfigurator::generate()](https://github.com/intel/qpl/blob/7f56b6a8b4c0c7737c6bc8a90a2d64cfe6cec3dc/tools/utils/generators/configurators/rfc1951_stream/break_header_configurators/all_zero_literal_length_codes.cpp#L15-L35)
- [gz_generator::NoLiteralLengthCodeConfigurator::generate()](https://github.com/intel/qpl/blob/7f56b6a8b4c0c7737c6bc8a90a2d64cfe6cec3dc/tools/utils/generators/configurators/rfc1951_stream/break_header_configurators/no_literal_length_code.cpp#L18-L48)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.