Re: [PATCH rtems-tools v1] ReportsBase: Change raw pointer to unique_ptr

2021-12-20 Thread Chris Johns
On 21/12/21 10:08 am, Ryan Long wrote: > On 12/20/2021 5:03 PM, Chris Johns wrote: >> On 21/12/21 7:24 am, Ryan Long wrote: >> >>>     reportList_t   reportList; >> Then make this `reports`. >> >>>     reportList_t::iterator ritr; >>>     std::string    reportName; >>> -  ReportsBas

Re: [PATCH rtems-tools v1] ReportsBase: Change raw pointer to unique_ptr

2021-12-20 Thread Ryan Long
On 12/20/2021 5:03 PM, Chris Johns wrote: On 21/12/21 7:24 am, Ryan Long wrote: Replaced raw pointer used with ReportsBase-derived classes to make code cleaner and make it to where pointers do not have to be manually deleted. Closes #4376 --- tester/covoar/ReportsBase.cc | 21 ++---

Re: [PATCH rtems-tools v1] ReportsBase: Change raw pointer to unique_ptr

2021-12-20 Thread Chris Johns
On 21/12/21 7:24 am, Ryan Long wrote: > Replaced raw pointer used with ReportsBase-derived classes to make code > cleaner and make it to where pointers do not have to be manually > deleted. > > Closes #4376 > --- > tester/covoar/ReportsBase.cc | 21 ++--- > 1 file changed, 6 in