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_conf_make_meta_native.d | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/sdp/ao_conf_make_meta_native.d') diff --git a/src/sdp/ao_conf_make_meta_native.d b/src/sdp/ao_conf_make_meta_native.d index a5e60ef..08a7d9f 100644 --- a/src/sdp/ao_conf_make_meta_native.d +++ b/src/sdp/ao_conf_make_meta_native.d @@ -215,10 +215,10 @@ template SiSUheaderExtractNative() { return t; } private auto native_header_extract(L,Lo,O,T)( - L line, - ref Lo line_occur, - ref O an_object, - ref T type + L line, + return ref Lo line_occur, + return ref O an_object, + return ref T type ) { debug(asserts){ static assert(is(typeof(line) == char[])); @@ -259,9 +259,9 @@ template SiSUheaderExtractNative() { return an_object; } auto header_reset_states_common(Lo,O,T)( - ref Lo line_occur, - ref O an_object, - ref T type + return ref Lo line_occur, + return ref O an_object, + return ref T type ) { debug(asserts){ static assert(is(typeof(line_occur) == int[string])); -- cgit v1.2.3