diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-07-27 04:38:26 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | d56624bce222d870298d937e634fe01aef5c39e4 (patch) | |
tree | fda4da44a0fdddda9e99202ad69ebce9193c55ba /org/default_paths.org | |
parent | meta_abstraction, mark some functions pure (diff) |
static, liberal use of keyword
Diffstat (limited to 'org/default_paths.org')
-rw-r--r-- | org/default_paths.org | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/org/default_paths.org b/org/default_paths.org index 2a414bd..6d6c1db 100644 --- a/org/default_paths.org +++ b/org/default_paths.org @@ -32,7 +32,7 @@ import std.array, import sdp.meta.rgx; template SiSUpathsSRC() { mixin SiSUrgxInit; - auto rgx = Rgx(); + static auto rgx = Rgx(); auto SiSUpathsSRC(D,Fn)( D _pwd, Fn _fn_src_and_relative_path, @@ -131,7 +131,7 @@ doc #+BEGIN_SRC d template SiSUpathsSisupod() { mixin SiSUrgxInit; - auto rgx = Rgx(); + static auto rgx = Rgx(); string base_dir = "sisupod"; string suffix = ".zip"; auto SiSUpathsSisupod()() { @@ -157,7 +157,7 @@ template SiSUpathsSisupod() { #+BEGIN_SRC d template SiSUpathsSisupodZipped() { mixin SiSUrgxInit; - auto rgx = Rgx(); + static auto rgx = Rgx(); auto SiSUpathsSisupodZipped(Ps,Lng)( Ps src_pth_info, Lng lng, @@ -215,7 +215,7 @@ template SiSUpathsSisupodZipped() { #+BEGIN_SRC d template SiSUpathsSisupodFileSystem() { mixin SiSUrgxInit; - auto rgx = Rgx(); + static auto rgx = Rgx(); auto SiSUpathsSisupodFileSystem(Ps,Lng)( Ps src_pth_info, Lng lng, @@ -295,7 +295,7 @@ template SiSUoutPaths() { #+BEGIN_SRC d template SiSUpathsHTML() { mixin SiSUrgxInit; - auto rgx = Rgx(); + static auto rgx = Rgx(); auto SiSUpathsHTML(Ps,Lng)( Ps src_pth_info, Lng lng, @@ -340,7 +340,7 @@ template SiSUpathsHTML() { #+BEGIN_SRC d template SiSUpathsEPUB() { mixin SiSUrgxInit; - auto rgx = Rgx(); + static auto rgx = Rgx(); auto SiSUpathsEPUB(Ps,Lng)( Ps src_pth_info, Lng lng, |