Commit 8079f2bb authored by Dominik Charousset's avatar Dominik Charousset

Update cppcheck suppressions for maybe

parent e238cff1
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
// make it harder to use and its a library internal anyways // make it harder to use and its a library internal anyways
noExplicitConstructor:libcaf_core/caf/attachable.hpp noExplicitConstructor:libcaf_core/caf/attachable.hpp
// cppcheck has all kinds of false positives in the optional header, // cppcheck has all kinds of false positives in the maybe<T> header, mostly
// mostly const and static suggestions that are flat out wrong and // const and static suggestions that are flat out wrong and would cause
// would cause compiler error (const optional::destroy?, wtf?) // compiler errors ("Technically the member function 'caf::maybe::destroy' can
*:libcaf_core/caf/optional.hpp // be const.", wtf?)
*:libcaf_core/caf/maybe.hpp
// cppcheck fails to recognize the pattern of converting // cppcheck fails to recognize the pattern of converting
// `intrusive_ptr<T>` from `intrusive_ptr<U>` // `intrusive_ptr<T>` from `intrusive_ptr<U>`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment