Permalink
Browse files

made opDispatch @property, to compile with -property

  • Loading branch information...
1 parent 313a11e commit 7e0b8ea49250104ec4deb03009ce360fe7d68ab2 @Dav1dde committed Sep 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gl3n/linalg.d
View
2 gl3n/linalg.d
@@ -325,7 +325,7 @@ struct Vector(type, int dimension_) if((dimension_ >= 2) && (dimension_ <= 4)) {
/// Implements dynamic swizzling.
/// Returns: a static array of coordinates.
- vt[s.length] opDispatch(string s)() const {
+ @property vt[s.length] opDispatch(string s)() const {
vt[s.length] ret;
dispatchImpl!(0, s)(ret);
return ret;

0 comments on commit 7e0b8ea

Please sign in to comment.