aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_xhtmls.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-02-18 12:16:33 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitd582b4a66f5fc746b4d1e2935c5400df072df055 (patch)
tree207644c2a7d2ef798840281cb3f61982583d71aa /src/sdp/output_xhtmls.d
parent0.13.1 defaults renamed & reorganized (diff)
0.13.2 ref scope (return)
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) {