Skip to content

Commit

Permalink
iox-eclipse-iceoryx#70 fix QNX build
Browse files Browse the repository at this point in the history
Signed-off-by: Kraus Mathias (CC-AD/ESW1) <mathias.kraus2@de.bosch.com>
  • Loading branch information
elBoberido committed Mar 21, 2020
1 parent 79f474d commit 0038543
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <functional>
#include <iostream>
#include <memory>
#include <type_traits>

namespace iox
{
Expand All @@ -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<acl_tag_t>::type
#else
enum class Category : acl_tag_t
#endif
Expand All @@ -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<acl_perm_t>::type
#else
enum class Permission : acl_perm_t
#endif
Expand Down

0 comments on commit 0038543

Please sign in to comment.