Skip to content

Commit 408fd39

Browse files
authored
Merge pull request #2148 from elBoberido/iox-2060-fix-clang-tidy-warning-from-legacy-folder
iox-#2060 Fix clang-tidy warning for legacy 'byte' alias
2 parents 9b5bcba + 672649d commit 408fd39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

iceoryx_hoofs/legacy/include/iceoryx_hoofs/iceoryx_hoofs_types.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include "iox/detail/deprecation_marker.hpp"
2121
#include "iox/iceoryx_hoofs_types.hpp"
2222

23+
#include <cstddef>
24+
2325
IOX_DEPRECATED_HEADER_SINCE(3, "Please include 'iox/iceoryx_hoofs_types.hpp' instead.")
2426

2527
namespace iox
@@ -29,7 +31,7 @@ namespace iox
2931
namespace cxx
3032
{
3133
/// @deprecated use 'std::byte' instead of 'iox::cxx::byte_t'
32-
using byte_t IOX_DEPRECATED_SINCE(3, "Please use 'std::byte' instead.") = byte;
34+
using byte_t IOX_DEPRECATED_SINCE(3, "Please use 'std::byte' instead.") = std::byte;
3335

3436
} // namespace cxx
3537
namespace log

0 commit comments

Comments
 (0)