diff options
Diffstat (limited to 'api/direct_bt/GATTHandler.hpp')
-rw-r--r-- | api/direct_bt/GATTHandler.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/GATTHandler.hpp b/api/direct_bt/GATTHandler.hpp index 346d4153..b9c76d86 100644 --- a/api/direct_bt/GATTHandler.hpp +++ b/api/direct_bt/GATTHandler.hpp @@ -145,7 +145,7 @@ namespace direct_bt { /* BT Core Spec v5.2: Vol 3, Part G GATT: 5.2.1 ATT_MTU */ MIN_ATT_MTU = 23 }; - static inline int number(const Defaults d) { return static_cast<int>(d); } + static constexpr int number(const Defaults d) { return static_cast<int>(d); } private: const GATTEnv & env; |