projects
/
external
/
ragel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
private sync
[external/ragel.git]
/
aapl
/
bubblesort.h
diff --git
a/aapl/bubblesort.h
b/aapl/bubblesort.h
index
f0f4ce5
..
bcc2fb6
100644
(file)
--- a/
aapl/bubblesort.h
+++ b/
aapl/bubblesort.h
@@
-72,7
+72,7
@@
template <class T, class Compare> void BubbleSort<T,Compare>::
changed = false;
for ( long i = 0; i < len-pass; i++ ) {
/* Do we swap pos with the next one? */
- if (
this->
compare( data[i], data[i+1] ) > 0 ) {
+ if ( compare( data[i], data[i+1] ) > 0 ) {
char tmp[sizeof(T)];
/* Swap the two items. */