Skip to content

Commit

Permalink
Compatibility with LDC < 1.31 (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Piolat <contact@auburnsounds.com>
  • Loading branch information
p0nce and Guillaume Piolat authored Jan 14, 2025
1 parent b0dbbce commit 505c2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/numem/core/traits.d
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private struct __DummyStruct { }
/**
Returns the rvalue equivalent of T.
*/
@property T rvalueOf(T)(T val) => val;
@property T rvalueOf(T)(T val) { return val; }

/**
Returns the rvalue equivalent of `T`.
Expand Down

0 comments on commit 505c2a8

Please sign in to comment.