diff --git a/features/FEATURE_BLE/ble/common/Bounded.h b/features/FEATURE_BLE/ble/common/Bounded.h index ce076f8bf2..ea3041ab8e 100644 --- a/features/FEATURE_BLE/ble/common/Bounded.h +++ b/features/FEATURE_BLE/ble/common/Bounded.h @@ -83,12 +83,12 @@ struct Bounded { /** * The left-bound value. */ - static const Rep MIN; + static const Rep MIN = Min; /** * The right-bound value. */ - static const Rep MAX; + static const Rep MAX = Max; private: Rep _value; @@ -97,10 +97,10 @@ private: /* ---------------------- Static variable initialization -------------------- */ template -const T Bounded::MIN = Min; +const T Bounded::MIN; template -const T Bounded::MAX = Max; +const T Bounded::MAX; } // namespace ble