Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix typeof
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsaka committed Jan 6, 2015
1 parent 6f374fc commit c66f103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/atomic.d
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ else version( AsmX86_64 )
pop RBX;
pop RDI;
}
return cast(T) retVal;
return cast(typeof(return)) retVal;
}else{
asm pure nothrow @nogc
{
Expand Down

0 comments on commit c66f103

Please sign in to comment.