@@ -146,7 +146,7 @@ struct ModifiedVariable
146
146
147
147
// Peel off the none modifier. If it's included, it should always be last in the list.
148
148
template <TypeModifier Modifier = TypeModifier::None, TypeModifier... Other>
149
- [[nodiscard]] static inline response::Value serialize (
149
+ [[nodiscard]] static response::Value serialize (
150
150
Type&& value) requires OnlyNoneModifiers<Modifier, Other...>
151
151
{
152
152
// Just call through to the non-template method without the modifiers.
@@ -155,7 +155,7 @@ struct ModifiedVariable
155
155
156
156
// Peel off nullable modifiers.
157
157
template <TypeModifier Modifier, TypeModifier... Other>
158
- [[nodiscard]] static inline response::Value serialize (
158
+ [[nodiscard]] static response::Value serialize (
159
159
typename VariableTraits<Type, Modifier, Other...>::type&& nullableValue) requires
160
160
NullableModifier<Modifier>
161
161
{
@@ -172,7 +172,7 @@ struct ModifiedVariable
172
172
173
173
// Peel off list modifiers.
174
174
template <TypeModifier Modifier, TypeModifier... Other>
175
- [[nodiscard]] static inline response::Value serialize (
175
+ [[nodiscard]] static response::Value serialize (
176
176
typename VariableTraits<Type, Modifier, Other...>::type&& listValue) requires
177
177
ListModifier<Modifier>
178
178
{
@@ -189,7 +189,7 @@ struct ModifiedVariable
189
189
190
190
// Peel off the none modifier. If it's included, it should always be last in the list.
191
191
template <TypeModifier Modifier = TypeModifier::None, TypeModifier... Other>
192
- [[nodiscard]] static inline Type duplicate (
192
+ [[nodiscard]] static Type duplicate (
193
193
const Type& value) requires OnlyNoneModifiers<Modifier, Other...>
194
194
{
195
195
// Just copy the value.
@@ -198,7 +198,7 @@ struct ModifiedVariable
198
198
199
199
// Peel off nullable modifiers.
200
200
template <TypeModifier Modifier, TypeModifier... Other>
201
- [[nodiscard]] static inline typename VariableTraits<Type, Modifier, Other...>::type duplicate (
201
+ [[nodiscard]] static typename VariableTraits<Type, Modifier, Other...>::type duplicate (
202
202
const typename VariableTraits<Type, Modifier, Other...>::type& nullableValue) requires
203
203
NullableModifier<Modifier>
204
204
{
@@ -222,7 +222,7 @@ struct ModifiedVariable
222
222
223
223
// Peel off list modifiers.
224
224
template <TypeModifier Modifier, TypeModifier... Other>
225
- [[nodiscard]] static inline typename VariableTraits<Type, Modifier, Other...>::type duplicate (
225
+ [[nodiscard]] static typename VariableTraits<Type, Modifier, Other...>::type duplicate (
226
226
const typename VariableTraits<Type, Modifier, Other...>::type& listValue) requires
227
227
ListModifier<Modifier>
228
228
{
@@ -296,15 +296,15 @@ struct ModifiedResponse
296
296
297
297
// Peel off the none modifier. If it's included, it should always be last in the list.
298
298
template <TypeModifier Modifier = TypeModifier::None, TypeModifier... Other>
299
- [[nodiscard]] static inline Type parse (
299
+ [[nodiscard]] static Type parse (
300
300
response::Value&& response) requires OnlyNoneModifiers<Modifier, Other...>
301
301
{
302
302
return Response<Type>::parse (std::move (response));
303
303
}
304
304
305
305
// Peel off nullable modifiers.
306
306
template <TypeModifier Modifier, TypeModifier... Other>
307
- [[nodiscard]] static inline std::optional<typename ResponseTraits<Type, Other...>::type> parse (
307
+ [[nodiscard]] static std::optional<typename ResponseTraits<Type, Other...>::type> parse (
308
308
response::Value&& response) requires NullableModifier<Modifier>
309
309
{
310
310
if (response.type () == response::Type::Null)
@@ -318,7 +318,7 @@ struct ModifiedResponse
318
318
319
319
// Peel off list modifiers.
320
320
template <TypeModifier Modifier, TypeModifier... Other>
321
- [[nodiscard]] static inline std::vector<typename ResponseTraits<Type, Other...>::type> parse (
321
+ [[nodiscard]] static std::vector<typename ResponseTraits<Type, Other...>::type> parse (
322
322
response::Value&& response) requires ListModifier<Modifier>
323
323
{
324
324
std::vector<typename ResponseTraits<Type, Other...>::type> result;
0 commit comments