aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_doc_debugs.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/ao_doc_debugs.d
parent0.13.1 defaults renamed & reorganized (diff)
0.13.2 ref scope (return)
Diffstat (limited to 'src/sdp/ao_doc_debugs.d')
-rw-r--r--src/sdp/ao_doc_debugs.d14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sdp/ao_doc_debugs.d b/src/sdp/ao_doc_debugs.d
index feb7de4..2c0da82 100644
--- a/src/sdp/ao_doc_debugs.d
+++ b/src/sdp/ao_doc_debugs.d
@@ -23,8 +23,8 @@ template SiSUdebugs() {
std.utf,
std.conv : to;
auto SiSUdebugs(S,T)(
- auto ref const S contents,
- auto ref T doc_matters,
+ auto return ref const S contents,
+ auto return ref T doc_matters,
) {
mixin SiSUrgxInit;
mixin InternalMarkup;
@@ -580,8 +580,8 @@ template SiSUdebugs() {
}
debug(checkdoc) {
void out_segnames(S,T)(
- auto ref const S contents,
- auto ref T doc_matters,
+ auto return ref const S contents,
+ auto return ref T doc_matters,
) {
foreach (key; doc_matters.keys_seq_seg) {
if (contents[key].length > 1) {
@@ -596,7 +596,7 @@ template SiSUdebugs() {
}
debug(checkdoc) {
void out_toc(S)(
- auto ref const S contents,
+ auto return ref const S contents,
string key,
) {
if (contents[key].length > 1) {
@@ -614,7 +614,7 @@ template SiSUdebugs() {
}
debug(checkdoc) {
void out_endnotes(S)(
- auto ref const S contents,
+ auto return ref const S contents,
string key,
) {
if (contents[key].length > 1) {
@@ -630,7 +630,7 @@ template SiSUdebugs() {
}
debug(checkdoc) {
void out_bookindex(S)(
- auto ref const S contents,
+ auto return ref const S contents,
string key,
) {
if (contents[key].length > 1) {