tizen 2.3.1 release
[external/ragel.git] / aapl / bubblesort.h
index 20e0f6f..4506208 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2002 Adrian Thurston <thurston@cs.queensu.ca>
+ *  Copyright 2002 Adrian Thurston <thurston@complang.org>
  */
 
 /*  This file is part of Aapl.
@@ -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 ( compare( data[i], data[i+1] ) > 0 ) {
+                       if ( Compare::compare( data[i], data[i+1] ) > 0 ) {
                                char tmp[sizeof(T)];
 
                                /* Swap the two items. */