mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-30 22:54:35 +03:00
AK: Add some missing "inline" keywords in JsonObject.h
This commit is contained in:
parent
be6a31dde1
commit
9afda55d73
Notes:
sideshowbarker
2024-07-19 09:33:26 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9afda55d73c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user