mirror of
https://github.com/fmtlib/fmt.git
synced 2024-10-02 13:02:03 +00:00
Use ignore_unused
This commit is contained in:
parent
79981a2528
commit
3e762fdf5c
@ -230,7 +230,7 @@ void for_each(index_sequence<Is...>, Tuple&& tup, F&& f) noexcept {
|
||||
using std::get;
|
||||
// Using free function get<I>(T) now.
|
||||
const int unused[] = {0, ((void)f(get<Is>(tup)), 0)...};
|
||||
(void)unused;
|
||||
ignore_unused(unused);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
|
Loading…
Reference in New Issue
Block a user