diff options
Diffstat (limited to 'src/Model')
-rw-r--r-- | src/Model/Content.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/Content.kt b/src/Model/Content.kt index b9d67d5b..176be8d3 100644 --- a/src/Model/Content.kt +++ b/src/Model/Content.kt @@ -3,7 +3,7 @@ package org.jetbrains.dokka import kotlin.properties.Delegates public abstract class ContentNode { - class object { + default object { val empty = ContentEmpty } } @@ -126,7 +126,7 @@ public open class Content(): ContentBlock() { fun findSectionByTag(tag: String): ContentSection? = sections.firstOrNull { tag.equalsIgnoreCase(it.tag) } - class object { + default object { val Empty = Content() } } |