diff --git a/doc/website/release-notes/iceoryx-unreleased.md b/doc/website/release-notes/iceoryx-unreleased.md index 1eeb183971..a8f8f2677f 100644 --- a/doc/website/release-notes/iceoryx-unreleased.md +++ b/doc/website/release-notes/iceoryx-unreleased.md @@ -119,7 +119,6 @@ - Remove `algorithm::uniqueMergeSortedContainers` from `algorithm.hpp` - Move `std::string` conversion function to `iceoryx_dust` [\#1612](https://github.com/eclipse-iceoryx/iceoryx/issues/1612) - The posix call `unlink` is directly used in `UnixDomainSocket` [\#1622](https://github.com/eclipse-iceoryx/iceoryx/issues/1622) -- Make iox::byte_t a distinct type [\#1900](https://github.com/eclipse-iceoryx/iceoryx/issues/1900) **Workflow:** @@ -1034,9 +1033,8 @@ // after iox::access_rights foo { iox::perms::owner_all | iox::perms::group_read }; ``` + 47. Renaming `byte_t` to `byte` - `byte` is not a simple type alias, now it is a distinct type like c++17 `std::byte`. - The type `byte` does not support any arithmetic operations nor has member functions. ```cpp //before diff --git a/iceoryx_hoofs/primitives/include/iox/iceoryx_hoofs_types.hpp b/iceoryx_hoofs/primitives/include/iox/iceoryx_hoofs_types.hpp index 6dd7477864..1befc87749 100644 --- a/iceoryx_hoofs/primitives/include/iox/iceoryx_hoofs_types.hpp +++ b/iceoryx_hoofs/primitives/include/iox/iceoryx_hoofs_types.hpp @@ -24,10 +24,8 @@ namespace iox { - -enum class byte : uint8_t -{ -}; +/// @todo iox-#1900 use std::byte with c++17 +using byte = uint8_t; // AXIVION Next Construct AutosarC++19_03-M2.10.1 : log is a sensible namespace for a logger; furthermore it is in the // iox namespace and when used as function the compiler will complain