Skip to content

fix: Warning for ignored attribute when using function pointer as unique_ptr deleter

Jerome Hue requested to merge jeromeh/aidge_core:wignored-warning into dev

Context

Fixes #202 See https://stackoverflow.com/a/76867913 for a breakdwon of the warning and how to fix it

Modified files

  • Log.hpp and Log.cpp

Detailed major modifications

Replace function pointer deleter of unique_ptr<> by a struct, ensuring that attribute is not ignored.

Merge request reports

Loading