Remove reset() from the API of objects where creating a new instance is sufficient #1718
Labels
ABI break
API question
Question about DNF 5 API usage
Priority: LOW
RFE
Request For Enhancement (as opposed to a bug)
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
This is a follow-up to #1678.
The goal is to review our reset() methods and identify those that provide no additional value compared to simply using the constructor. In these cases, I suggest dropping the reset() methods, as they require maintaining lists of objects (like vectors, maps, etc.) and their clearing can be handled automatically by the destructor.
The text was updated successfully, but these errors were encountered: