diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2020-01-05 20:17:17 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-02-11 13:08:49 -0500 |
commit | de02319cfa7b4bbff8c111bda02be1a7c6591555 (patch) | |
tree | 732c11d10bc2699cd1b72d00b3be943284eea130 /org/output_hub.org | |
parent | reduce use of auto, much with tuples (diff) |
dlang safe default imminent, look ahead
- @safe @trusted & @system, reconsider @trusted
Diffstat (limited to 'org/output_hub.org')
-rw-r--r-- | org/output_hub.org | 7 |
1 files changed, 5 insertions, 2 deletions
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() { <<output_imports>> 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() { <<output_imports>> - 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(); <<output_options_op>> |