Skip to content
Snippets Groups Projects

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

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

Context

Fixes #202 (closed) 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading