@@ -44,16 +44,16 @@ class base32_rfc4648
4444public:
4545 template <typename Codec> using codec_impl = stream_codec<Codec, base32_rfc4648>;
4646
47- static inline constexpr bool generates_padding () { return true ; }
48- static inline constexpr bool requires_padding () { return true ; }
49- static inline constexpr char padding_symbol () { return ' =' ; }
47+ static CPPCODEC_ALWAYS_INLINE constexpr bool generates_padding () { return true ; }
48+ static CPPCODEC_ALWAYS_INLINE constexpr bool requires_padding () { return true ; }
49+ static CPPCODEC_ALWAYS_INLINE constexpr char padding_symbol () { return ' =' ; }
5050
51- static inline constexpr char symbol (uint8_t index)
51+ static CPPCODEC_ALWAYS_INLINE constexpr char symbol (uint8_t index)
5252 {
5353 return base32_rfc4648_alphabet[index];
5454 }
5555
56- static inline constexpr uint8_t index_of (char c)
56+ static CPPCODEC_ALWAYS_INLINE constexpr uint8_t index_of (char c)
5757 {
5858 return (c >= ' A' && c <= ' Z' ) ? (c - ' A' )
5959 : (c >= ' 2' && c <= ' 7' ) ? (c - ' 2' + 26 )
@@ -64,10 +64,10 @@ class base32_rfc4648
6464 }
6565
6666 // RFC4648 does not specify any whitespace being allowed in base32 encodings.
67- static inline constexpr bool should_ignore (uint8_t /* index*/ ) { return false ; }
68- static inline constexpr bool is_special_character (uint8_t index) { return index > 32 ; }
69- static inline constexpr bool is_padding_symbol (uint8_t index) { return index == 254 ; }
70- static inline constexpr bool is_eof (uint8_t index) { return index == 255 ; }
67+ static CPPCODEC_ALWAYS_INLINE constexpr bool should_ignore (uint8_t /* index*/ ) { return false ; }
68+ static CPPCODEC_ALWAYS_INLINE constexpr bool is_special_character (uint8_t index) { return index > 32 ; }
69+ static CPPCODEC_ALWAYS_INLINE constexpr bool is_padding_symbol (uint8_t index) { return index == 254 ; }
70+ static CPPCODEC_ALWAYS_INLINE constexpr bool is_eof (uint8_t index) { return index == 255 ; }
7171};
7272
7373} // namespace detail
0 commit comments