Skip to content

Commit

Permalink
Merge pull request #2148 from elBoberido/iox-2060-fix-clang-tidy-warn…
Browse files Browse the repository at this point in the history
…ing-from-legacy-folder

iox-#2060 Fix clang-tidy warning for legacy 'byte' alias
  • Loading branch information
elBoberido authored Jan 4, 2024
2 parents 9b5bcba + 672649d commit 408fd39
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "iox/detail/deprecation_marker.hpp"
#include "iox/iceoryx_hoofs_types.hpp"

#include <cstddef>

IOX_DEPRECATED_HEADER_SINCE(3, "Please include 'iox/iceoryx_hoofs_types.hpp' instead.")

namespace iox
Expand All @@ -29,7 +31,7 @@ namespace iox
namespace cxx
{
/// @deprecated use 'std::byte' instead of 'iox::cxx::byte_t'
using byte_t IOX_DEPRECATED_SINCE(3, "Please use 'std::byte' instead.") = byte;
using byte_t IOX_DEPRECATED_SINCE(3, "Please use 'std::byte' instead.") = std::byte;

} // namespace cxx
namespace log
Expand Down

0 comments on commit 408fd39

Please sign in to comment.