Skip to content

Commit 6276334

Browse files
Fix __refcount_t get function
1 parent 2ec9b13 commit 6276334

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/nulib/memory/internal.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct __refcount_t(T) {
8080
return selfptr;
8181
}
8282

83-
ref Ref!T get() @trusted nothrow {
83+
ref Unref!T get() @trusted nothrow {
8484
static if (is(Ref!T == T))
8585
return ptr;
8686
else

0 commit comments

Comments
 (0)