summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/dub.json3
-rw-r--r--os/tanya/os/error.d4
2 files changed, 4 insertions, 3 deletions
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;