mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-22298 Include <utility> in measunit.h
measunit.h uses std::pair, std::make_pair, and std::move, all of which are declared in the <utility> header. This still compiles because many implementations of the C++ standard library have <utility> as a transitive dependency of other C++ standard library headers; however, these transitive includes are not guaranteed to exist and will not exist in some contexts (e.g. building against LLVM's libc++ with -fmodules).
This commit is contained in:
parent
2d9fa3fa99
commit
7ed7d42f58
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
|
||||
#include <utility>
|
||||
#include "unicode/unistr.h"
|
||||
#include "unicode/localpointer.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue