aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_xhtmls.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/output_xhtmls.d')
-rw-r--r--src/sdp/output_xhtmls.d12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sdp/output_xhtmls.d b/src/sdp/output_xhtmls.d
index 4288ab8..6a4c3a3 100644
--- a/src/sdp/output_xhtmls.d
+++ b/src/sdp/output_xhtmls.d
@@ -99,7 +99,7 @@ template outputXHTMLs() {
return o;
}
auto toc(O)(
- auto ref const O obj,
+ auto return ref const O obj,
) {
string o;
o = format(q"¶ <div class="substance">
@@ -115,7 +115,7 @@ template outputXHTMLs() {
return o;
}
auto heading(O)(
- auto ref const O obj,
+ auto return ref const O obj,
) {
auto tags = _xhtml_anchor_tags(obj.anchor_tags);
string o;
@@ -154,7 +154,7 @@ template outputXHTMLs() {
return o;
}
auto para(O)(
- auto ref const O obj,
+ auto return ref const O obj,
) {
auto tags = _xhtml_anchor_tags(obj.anchor_tags);
string o;
@@ -190,7 +190,7 @@ template outputXHTMLs() {
return o;
}
auto nugget(O)(
- auto ref const O obj,
+ auto return ref const O obj,
) {
string o;
if (obj.obj_cite_number.empty) {
@@ -219,7 +219,7 @@ template outputXHTMLs() {
return o;
}
auto endnote(O)(
- auto ref const O obj,
+ auto return ref const O obj,
) {
string o;
o = format(q"¶ <p class="%s" indent="h%si%s">
@@ -233,7 +233,7 @@ template outputXHTMLs() {
return o;
}
auto code(O)(
- auto ref const O obj,
+ auto return ref const O obj,
) {
string o;
if (obj.obj_cite_number.empty) {