Changeset 1676 for trunk/lib


Ignore:
Timestamp:
Nov 13, 2011, 12:18:02 PM (8 years ago)
Author:
ksherdy
Message:

Updated base class member access syntax.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock_scan.hpp

    r1675 r1676  
    4040
    4141        IDISA_ALWAYS_INLINE void reset(bitblock_t * s) {
    42                 Scanner<bitblock_t, scanblock_t>::strm = s;
    43                 Scanner<bitblock_t, scanblock_t>::pos = 0;
    44                 Scanner<bitblock_t, scanblock_t>::blk = 0;
    45                 Scanner<bitblock_t, scanblock_t>::scan_blk = *(scanblock_t *)s;
     42                this->strm = s;
     43                this->pos = 0;
     44                this->blk = 0;
     45                this->scan_blk = *(scanblock_t *)s;
    4646        }
    4747
     
    7777
    7878        IDISA_ALWAYS_INLINE void reset(bitblock_t * s) {
    79                 Scanner<bitblock_t, scanblock_t>::strm = s;
    80                 Scanner<bitblock_t, scanblock_t>::pos = 0;
    81                 Scanner<bitblock_t, scanblock_t>::blk = BLOCK_COUNT;
    82                 Scanner<bitblock_t, scanblock_t>::scan_blk = *((scanblock_t *)s + (BLOCK_COUNT-1));
     79                this->strm = s;
     80                this->pos = 0;
     81                this->blk = BLOCK_COUNT;
     82                this->scan_blk = *((scanblock_t *)s + (BLOCK_COUNT-1));
    8383        }
    8484
Note: See TracChangeset for help on using the changeset viewer.