@@ -146,7 +146,7 @@ struct ModifiedVariable
146146
147147 // Peel off the none modifier. If it's included, it should always be last in the list.
148148 template <TypeModifier Modifier = TypeModifier::None, TypeModifier... Other>
149- [[nodiscard]] static inline response::Value serialize (
149+ [[nodiscard]] static response::Value serialize (
150150 Type&& value) requires OnlyNoneModifiers<Modifier, Other...>
151151 {
152152 // Just call through to the non-template method without the modifiers.
@@ -155,7 +155,7 @@ struct ModifiedVariable
155155
156156 // Peel off nullable modifiers.
157157 template <TypeModifier Modifier, TypeModifier... Other>
158- [[nodiscard]] static inline response::Value serialize (
158+ [[nodiscard]] static response::Value serialize (
159159 typename VariableTraits<Type, Modifier, Other...>::type&& nullableValue) requires
160160 NullableModifier<Modifier>
161161 {
@@ -172,7 +172,7 @@ struct ModifiedVariable
172172
173173 // Peel off list modifiers.
174174 template <TypeModifier Modifier, TypeModifier... Other>
175- [[nodiscard]] static inline response::Value serialize (
175+ [[nodiscard]] static response::Value serialize (
176176 typename VariableTraits<Type, Modifier, Other...>::type&& listValue) requires
177177 ListModifier<Modifier>
178178 {
@@ -189,7 +189,7 @@ struct ModifiedVariable
189189
190190 // Peel off the none modifier. If it's included, it should always be last in the list.
191191 template <TypeModifier Modifier = TypeModifier::None, TypeModifier... Other>
192- [[nodiscard]] static inline Type duplicate (
192+ [[nodiscard]] static Type duplicate (
193193 const Type& value) requires OnlyNoneModifiers<Modifier, Other...>
194194 {
195195 // Just copy the value.
@@ -198,7 +198,7 @@ struct ModifiedVariable
198198
199199 // Peel off nullable modifiers.
200200 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 (
202202 const typename VariableTraits<Type, Modifier, Other...>::type& nullableValue) requires
203203 NullableModifier<Modifier>
204204 {
@@ -222,7 +222,7 @@ struct ModifiedVariable
222222
223223 // Peel off list modifiers.
224224 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 (
226226 const typename VariableTraits<Type, Modifier, Other...>::type& listValue) requires
227227 ListModifier<Modifier>
228228 {
@@ -296,15 +296,15 @@ struct ModifiedResponse
296296
297297 // Peel off the none modifier. If it's included, it should always be last in the list.
298298 template <TypeModifier Modifier = TypeModifier::None, TypeModifier... Other>
299- [[nodiscard]] static inline Type parse (
299+ [[nodiscard]] static Type parse (
300300 response::Value&& response) requires OnlyNoneModifiers<Modifier, Other...>
301301 {
302302 return Response<Type>::parse (std::move (response));
303303 }
304304
305305 // Peel off nullable modifiers.
306306 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 (
308308 response::Value&& response) requires NullableModifier<Modifier>
309309 {
310310 if (response.type () == response::Type::Null)
@@ -318,7 +318,7 @@ struct ModifiedResponse
318318
319319 // Peel off list modifiers.
320320 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 (
322322 response::Value&& response) requires ListModifier<Modifier>
323323 {
324324 std::vector<typename ResponseTraits<Type, Other...>::type> result;
0 commit comments