Skip to content

Commit 8833819

Browse files
committed
Merge branch 'kraj-devtool'
2 parents 20ef1f9 + e90231c commit 8833819

File tree

2 files changed

+1059
-1
lines changed

2 files changed

+1059
-1
lines changed

erb/v1/cpp03_define_array.hpp.erb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ struct define_array<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>> {
6666
msgpack::object *ptr = o.via.array.ptr;
6767
switch(size) {
6868
default:<%(i).downto(0) {|j|%>
69-
case <%=j+1%>: ptr[<%=j%>].convert(a<%=j%>);<%}%>
69+
case <%=j+1%>: ptr[<%=j%>].convert(a<%=j%>);
70+
// fallthrough
71+
<%}%>
7072
}
7173
}
7274
}

0 commit comments

Comments
 (0)