X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=aapl%2Favlcommon.h;h=2cee80caac981299039b6fd4db7580a2e43acfa9;hb=2a7c4bf5d6c6a94e48988d89e3eb84b53893cb88;hp=06983bc65812fdcea8f6b59d5b6afc94808b5117;hpb=06589c0405685e9cb511253ad2d4d51b5d42b181;p=external%2Fragel.git diff --git a/aapl/avlcommon.h b/aapl/avlcommon.h index 06983bc..2cee80c 100644 --- a/aapl/avlcommon.h +++ b/aapl/avlcommon.h @@ -881,9 +881,9 @@ template Element *AvlTree:: } #ifdef AVL_BASIC - keyRelation = compare( *element, *curEl ); + keyRelation = this->compare( *element, *curEl ); #else - keyRelation = compare( element->BASEKEY(getKey()), + keyRelation = this->compare( element->BASEKEY(getKey()), curEl->BASEKEY(getKey()) ); #endif @@ -920,7 +920,7 @@ template Element *AvlTree:: long keyRelation; while (curEl) { - keyRelation = compare( *element, *curEl ); + keyRelation = this->compare( *element, *curEl ); /* Do we go left? */ if ( keyRelation < 0 ) @@ -969,7 +969,7 @@ template Element *AvlTree:: return element; } - keyRelation = compare( key, curEl->BASEKEY(getKey()) ); + keyRelation = this->compare( key, curEl->BASEKEY(getKey()) ); /* Do we go left? */ if ( keyRelation < 0 ) { @@ -1023,7 +1023,7 @@ template Element *AvlTree:: return element; } - keyRelation = compare(key, curEl->getKey()); + keyRelation = this->compare(key, curEl->getKey()); /* Do we go left? */ if ( keyRelation < 0 ) { @@ -1058,7 +1058,7 @@ template Element *AvlTree:: long keyRelation; while (curEl) { - keyRelation = compare( key, curEl->BASEKEY(getKey()) ); + keyRelation = this->compare( key, curEl->BASEKEY(getKey()) ); /* Do we go left? */ if ( keyRelation < 0 )