aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sdp/ao_object_setter.d
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sdp/ao_object_setter.d')
-rw-r--r--lib/sdp/ao_object_setter.d10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sdp/ao_object_setter.d b/lib/sdp/ao_object_setter.d
index 050b606..f2abd7f 100644
--- a/lib/sdp/ao_object_setter.d
+++ b/lib/sdp/ao_object_setter.d
@@ -6,7 +6,7 @@ mixin template ObjectSetters() {
class ObjectAbstractSet {
import std.conv : to;
string[string] contents_comment(in string object) {
- string object_set[string];
+ string[string] object_set;
object_set["use"] = "comment";
object_set["of"] = "comment";
object_set["is"] = "comment";
@@ -22,7 +22,7 @@ mixin template ObjectSetters() {
in string lvn,
in string lcn,
) {
- string object_set[string];
+ string[string] object_set;
object_set["use"] = "content";
object_set["of"] = "para";
object_set["is"] = "heading";
@@ -44,7 +44,7 @@ mixin template ObjectSetters() {
in string indent_second,
in bool bullet
) {
- string object_set[string];
+ string[string] object_set;
object_set["use"] = "content";
object_set["of"] = "para";
object_set["is"] = type;
@@ -62,7 +62,7 @@ mixin template ObjectSetters() {
in string attrib,
in int ocn
) {
- string object_set[string];
+ string[string] object_set;
object_set["use"] = "content";
object_set["of"] = "block";
object_set["is"] = type;
@@ -77,7 +77,7 @@ mixin template ObjectSetters() {
in string ocn,
in string node
) {
- string object_set[string];
+ string[string] object_set;
object_set["use"] = "content";
object_set["of"] = "block";
object_set["is"] = type;