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/out_metadata.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org/out_metadata.org') diff --git a/org/out_metadata.org b/org/out_metadata.org index e8da2c4..3208994 100644 --- a/org/out_metadata.org +++ b/org/out_metadata.org @@ -22,7 +22,7 @@ #+BEGIN_SRC d :tangle "../src/doc_reform/io_out/metadata.d" module doc_reform.io_out.metadata; template outputMetadata() { - void outputMetadata(T)( T doc_matters) @safe { + @safe void outputMetadata(T)( T doc_matters) { <> <> <> @@ -235,7 +235,7 @@ metadata_write_output(doc_matters, metadata_); #+name: output_metadata_write #+BEGIN_SRC d -void metadata_write_output(M)(M doc_matters, string[] metadata_) @trusted { +@safe void metadata_write_output(M)(M doc_matters, string[] metadata_) { auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); try { if (!exists(pth_html.base)) { -- cgit v1.2.3