mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Fix cppcheck and compiler warnings
This commit is contained in:
@@ -175,6 +175,7 @@ namespace BlackMisc
|
||||
static_cast<void>(std::initializer_list<int>
|
||||
{
|
||||
//! \fixme C-style cast is needed due to a clang bug: https://bugs.llvm.org/show_bug.cgi?id=39375
|
||||
// cppcheck-suppress accessForwarded
|
||||
((void)(std::forward<F>(visitor)(std::get<Is * 2>(std::forward<T>(tuple)), std::get<Is * 2 + 1>(std::forward<T>(tuple)))), 0)...
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user