Skip to content

Commit

Permalink
do not use char8_t keyword
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki [email protected]>
  • Loading branch information
Grzegorz Głowacki authored and Grzegorz Głowacki committed May 5, 2023
1 parent 01fe072 commit 9246ea0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/autoware_auto_common/include/common/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ namespace types
// We don't currently require code to comply to MISRA, but we should try to where it is
// easily possible.
using bool8_t = bool;
#if __cplusplus < 201811L || !__cpp_char8_t
using char8_t = char;
#endif
using uchar8_t = unsigned char;
// If we ever compile on a platform where this is not true, float32_t and float64_t definitions
// need to be adjusted.
Expand Down

0 comments on commit 9246ea0

Please sign in to comment.