Skip to content

Commit e808f19

Browse files
committed
Merge pull request xtaci#5 from blackball/master
remove typeof from choose_pivot(...) thx...
2 parents 34909cb + eb47899 commit e808f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/generic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace alg
5454
static inline int choose_pivot(int i,int j)
5555
{
5656
assert(j>=i);
57-
typeof(i) length = j - i;
57+
int length = j - i;
5858
return i+(rand()%length);
5959
}
6060

0 commit comments

Comments
 (0)