From 003854391300089d0ecf9b6ba9b58a2796aa4d95 Mon Sep 17 00:00:00 2001 From: "Kraus Mathias (CC-AD/ESW1)" Date: Sat, 21 Mar 2020 23:10:00 +0100 Subject: [PATCH] iox-#70 fix QNX build Signed-off-by: Kraus Mathias (CC-AD/ESW1) --- .../iceoryx_utils/internal/posix_wrapper/access_control.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iceoryx_utils/include/iceoryx_utils/internal/posix_wrapper/access_control.hpp b/iceoryx_utils/include/iceoryx_utils/internal/posix_wrapper/access_control.hpp index f6313d5f8b..29806132bf 100644 --- a/iceoryx_utils/include/iceoryx_utils/internal/posix_wrapper/access_control.hpp +++ b/iceoryx_utils/include/iceoryx_utils/internal/posix_wrapper/access_control.hpp @@ -22,6 +22,7 @@ #include #include #include +#include namespace iox { @@ -44,7 +45,7 @@ class AccessController /// @brief identifier for a permission entry (user, group, others, ...) #if defined(QNX) || defined(QNX__) || defined(__QNX__) - enum class Category : std::underlying_type(acl_tag_t) + enum class Category : std::underlying_type::type #else enum class Category : acl_tag_t #endif @@ -60,7 +61,7 @@ class AccessController /// @brief access right for a permission entry #if defined(QNX) || defined(QNX__) || defined(__QNX__) - enum class Permission : std::underlying_type(acl_perm_t) + enum class Permission : std::underlying_type::type #else enum class Permission : acl_perm_t #endif