diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-02-18 12:16:33 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | d582b4a66f5fc746b4d1e2935c5400df072df055 (patch) | |
tree | 207644c2a7d2ef798840281cb3f61982583d71aa /src/sdp/ao_conf_make_meta_native.d | |
parent | 0.13.1 defaults renamed & reorganized (diff) |
0.13.2 ref scope (return)
Diffstat (limited to 'src/sdp/ao_conf_make_meta_native.d')
-rw-r--r-- | src/sdp/ao_conf_make_meta_native.d | 14 |
1 files changed, 7 insertions, 7 deletions
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])); |