Skip to content

Commit

Permalink
windows: fix missing type_traits include.
Browse files Browse the repository at this point in the history
error: missing '#include <type_traits>'; 'is_convertible_v' must be declared before it is used

Signed-off-by: furby™ <[email protected]>
  • Loading branch information
furby-tm committed Nov 5, 2024
1 parent d2c3ec5 commit 0be9663
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/icuuc/unicode/char16ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
#include <cstddef>
#include <string_view>

#if defined(_WIN32)
# include <type_traits>
#endif // defined(_WIN32)

/**
* \file
* \brief C++ API: char16_t pointer wrappers with
Expand Down

0 comments on commit 0be9663

Please sign in to comment.