From d582b4a66f5fc746b4d1e2935c5400df072df055 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 18 Feb 2017 12:16:33 -0500 Subject: 0.13.2 ref scope (return) --- src/sdp/ao_doc_debugs.d | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/sdp/ao_doc_debugs.d') 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) { -- cgit v1.2.3