Skip to content

Commit

Permalink
Changing enums to static immutable
Browse files Browse the repository at this point in the history
Changing enums to static immutable because that is what Travis CI is telling me to do
  • Loading branch information
jmh530 authored Jul 27, 2016
1 parent 97efba1 commit 4fbfeb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/experimental/ndslice/selection.d
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ template pack(K...)
auto a = r.sliced(3, 4, 5, 6);
auto b = a.pack!2;

enum res1 = [3, 4];
enum res2 = [5, 6];
static immutable res1 = [3, 4];
static immutable res2 = [5, 6];
assert(b.shape == res1);
assert(b[0, 0].shape == res2);
assert(a == b);
Expand Down

0 comments on commit 4fbfeb6

Please sign in to comment.