From de02319cfa7b4bbff8c111bda02be1a7c6591555 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 5 Jan 2020 20:17:17 -0500 Subject: dlang safe default imminent, look ahead - @safe @trusted & @system, reconsider @trusted --- org/output_hub.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'org/output_hub.org') diff --git a/org/output_hub.org b/org/output_hub.org index aad6240..4f2d3e0 100644 --- a/org/output_hub.org +++ b/org/output_hub.org @@ -29,7 +29,10 @@ module doc_reform.io_out.hub; template outputHub() { <> import std.parallelism; - void outputHub(D,I)(const D doc_abstraction, I doc_matters) { + @system void outputHub(D,I)( + const D doc_abstraction, + I doc_matters + ) { mixin spineOutputRgxInit; mixin Msg; auto msg = Msg!()(doc_matters); @@ -56,7 +59,7 @@ template outputHub() { } template outputHubOp() { <> - void outputHubOp(E,O)(E env, O opt_action) { + @system void outputHubOp(E,O)(E env, O opt_action) { mixin spineOutputRgxInit; static auto rgx = Rgx(); <> -- cgit v1.2.3