diff options
author | Ralph Amissah <ralph@amissah.com> | 2015-10-06 13:21:37 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2015-10-06 13:21:37 -0400 |
commit | baf874b5a76a1be02961e88f31da8fd97c4623f6 (patch) | |
tree | 95af075763836934a242dbfc2add32afecdaf1fe /lib/sdp/ao_object_setter.d | |
parent | sdp.org minor (diff) |
dmd compiler warnings fixed
Diffstat (limited to 'lib/sdp/ao_object_setter.d')
-rw-r--r-- | lib/sdp/ao_object_setter.d | 10 |
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; |