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/default_shared.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org/default_shared.org') diff --git a/org/default_shared.org b/org/default_shared.org index 067b7b5..b0e242b 100644 --- a/org/default_shared.org +++ b/org/default_shared.org @@ -32,7 +32,7 @@ module doc_reform.share.defaults; #+BEGIN_SRC d template Msg() { import std.stdio; - auto Msg(I)(I doc_matters) { + @safe auto Msg(I)(I doc_matters) { struct Msg_ { void v()(string message) { if (!(doc_matters.opt.action.quiet) && doc_matters.opt.action.verbose) { -- cgit v1.2.3