Changes in libcfa/src/bits/containers.hfa [d0502a3:fd54fef]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/containers.hfa
rd0502a3 rfd54fef 151 151 } 152 152 153 void append( __queue(T) & this, T * val ) with( this) {153 void append( __queue(T) & this, T * val ) with( this ) { 154 154 verify(this.tail != 0p); 155 155 verify(*this.tail == 1p); … … 161 161 T * peek( __queue(T) & this ) { 162 162 verify(*this.tail == 1p); 163 T * front node= this.head;164 if( front node!= 1p ) {163 T * front = this.head; 164 if( front != 1p ) { 165 165 verify(*this.tail == 1p); 166 return front node;166 return front; 167 167 } 168 168 verify(*this.tail == 1p);
Note: See TracChangeset
for help on using the changeset viewer.