Sebastian Huber commented on a discussion on trace/record/record-main-lttng.cc: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/36#note_114834 > } > > + std::unique_ptr<Filter> base64_filter; > if (is_base64_encoded) { > - client.AddFilter(new Base64Filter()); > + base64_filter.reset(new Base64Filter()); > + client.AddFilter(base64_filter.get()); > } > > - if (is_zlib_compressed) { > #ifdef HAVE_ZLIB_H > - client.AddFilter(new ZlibFilter()); > -#endif > + std::unique_ptr<Filter> zlib_filter; > + if (is_zlib_compressed) { > + zlib_filter.reset(new ZlibFilter()); For me this is good enough, I have to move to other topics on my TODO list. -- View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/36#note_114834 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
