X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=aapl%2Fbubblesort.h;h=f0f4ce5d15f5e55cc714e8c3e6d15b5952dd3aeb;hb=2a7c4bf5d6c6a94e48988d89e3eb84b53893cb88;hp=bcc2fb6a514c2326e8f2de1746c3ebf7aeffa607;hpb=06589c0405685e9cb511253ad2d4d51b5d42b181;p=external%2Fragel.git diff --git a/aapl/bubblesort.h b/aapl/bubblesort.h index bcc2fb6..f0f4ce5 100644 --- a/aapl/bubblesort.h +++ b/aapl/bubblesort.h @@ -72,7 +72,7 @@ template void BubbleSort:: changed = false; for ( long i = 0; i < len-pass; i++ ) { /* Do we swap pos with the next one? */ - if ( compare( data[i], data[i+1] ) > 0 ) { + if ( this->compare( data[i], data[i+1] ) > 0 ) { char tmp[sizeof(T)]; /* Swap the two items. */