aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-07-27 04:38:26 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitd56624bce222d870298d937e634fe01aef5c39e4 (patch)
treefda4da44a0fdddda9e99202ad69ebce9193c55ba /org/output_hub.org
parentmeta_abstraction, mark some functions pure (diff)
static, liberal use of keyword
Diffstat (limited to 'org/output_hub.org')
-rw-r--r--org/output_hub.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index f4eb1de..8f06194 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -28,7 +28,7 @@ template outputHub() {
<<output_imports>>
void outputHub(D,I)(D doc_abstraction, I doc_matters) {
mixin SiSUoutputRgxInit;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
<<output_options>>
}
}
@@ -36,7 +36,7 @@ template outputHubOp() {
<<output_imports>>
void outputHubOp(C)(C config) {
mixin SiSUoutputRgxInit;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
<<output_options_op>>
}
}