fix: Warning for ignored attribute when using function pointer as unique_ptr deleter
Context
Fixes #202 See https://stackoverflow.com/a/76867913 for a breakdwon of the warning and how to fix it
Modified files
-
Log.hpp
andLog.cpp
Detailed major modifications
Replace function pointer deleter of unique_ptr<> by a struct, ensuring that attribute is not ignored.