aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-01-05 20:17:17 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-02-11 13:08:49 -0500
commitde02319cfa7b4bbff8c111bda02be1a7c6591555 (patch)
tree732c11d10bc2699cd1b72d00b3be943284eea130 /org/output_hub.org
parentreduce 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.org7
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>>