aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_conf_make_meta_native.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/ao_conf_make_meta_native.d')
-rw-r--r--src/sdp/ao_conf_make_meta_native.d14
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]));