From f66935f40d58e33c2882f5899186dce743bc91ad Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 15 Apr 2019 06:42:57 +0200 Subject: Build with -dip1000. Fix #85 --- os/dub.json | 3 ++- os/tanya/os/error.d | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'os') diff --git a/os/dub.json b/os/dub.json index 647e24d..31537a1 100644 --- a/os/dub.json +++ b/os/dub.json @@ -12,5 +12,6 @@ ], "importPaths": [ "." - ] + ], + "dflags": ["-dip1000"] } diff --git a/os/tanya/os/error.d b/os/tanya/os/error.d index 0fabfc2..c1b70c6 100644 --- a/os/tanya/os/error.d +++ b/os/tanya/os/error.d @@ -307,14 +307,14 @@ struct ErrorCode * * Returns: $(D_KEYWORD this). */ - ref ErrorCode opAssign(const ErrorNo that) @nogc nothrow pure @safe + ref ErrorCode opAssign(const ErrorNo that) return @nogc nothrow pure @safe { this.value_ = that; return this; } /// ditto - ref ErrorCode opAssign(const ErrorCode that) @nogc nothrow pure @safe + ref ErrorCode opAssign(const ErrorCode that) return @nogc nothrow pure @safe { this.value_ = that.value_; return this; -- cgit v1.2.3