iwyu, doc: Document IWYU pragma: export for <chrono>

This commit is contained in:
Hennadii Stepanov
2026-03-10 18:03:59 +00:00
parent 48bfcfedec
commit 015bea05e6
3 changed files with 3 additions and 2 deletions

View File

@@ -13,8 +13,8 @@
#include <primitives/transaction.h>
#include <txgraph.h>
#include <util/overflow.h>
#include <util/time.h>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <functional>

View File

@@ -8,8 +8,8 @@
#include <policy/feerate.h>
#include <policy/policy.h>
#include <util/time.h>
#include <chrono>
#include <cstdint>
#include <optional>

View File

@@ -6,6 +6,7 @@
#ifndef BITCOIN_UTIL_TIME_H
#define BITCOIN_UTIL_TIME_H
// The `util/time.h` header is designed to be a drop-in replacement for `chrono`.
#include <chrono> // IWYU pragma: export
#include <cstdint>
#include <optional>