AK: Add some missing "inline" keywords in JsonObject.h

This commit is contained in:
Andreas Kling 2020-02-06 19:32:17 +01:00
parent be6a31dde1
commit 9afda55d73
Notes: sideshowbarker 2024-07-19 09:33:26 +09:00

View File

@ -132,7 +132,7 @@ inline typename Builder::OutputType JsonObject::serialized() const
}
template<typename Builder>
void JsonValue::serialize(Builder& builder) const
inline void JsonValue::serialize(Builder& builder) const
{
switch (m_type) {
case Type::String:
@ -176,7 +176,7 @@ void JsonValue::serialize(Builder& builder) const
}
template<typename Builder>
typename Builder::OutputType JsonValue::serialized() const
inline typename Builder::OutputType JsonValue::serialized() const
{
Builder builder;
serialize(builder);