Add IWYU pragma to base.h

So clang-tidy is happy if you include <fmt/format.h> for fmt::formatter<T>.
This commit is contained in:
Björn Schäpers 2025-11-02 19:26:04 +01:00
parent 407c905e45
commit 7578fb733b

View File

@ -8,6 +8,8 @@
#ifndef FMT_BASE_H_
#define FMT_BASE_H_
// IWYU pragma: private, include "fmt/format.h"
#if defined(FMT_IMPORT_STD) && !defined(FMT_MODULE)
# define FMT_MODULE
#endif