- Timestamp:
- 08/02/10 15:23:42 (14 years ago)
- Location:
- branches/newfiller/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newfiller/src/NROFiller.cpp
r1812 r1817 42 42 // get appropriate reader object 43 43 String format ; 44 if ( (reader_ = getNROReader( filename, format )) == 0 ) { 44 reader_ = getNROReader( filename, format ) ; 45 if ( reader_.null() == True ) { 45 46 status = false ; 46 47 return status ; … … 241 242 void NROFiller::close() 242 243 { 243 if ( reader_ ) 244 delete reader_ ; 245 reader_ = 0 ; 244 if (reader_.null() != False) { 245 reader_ = 0; 246 } 247 table_ = 0; 246 248 } 247 249 -
branches/newfiller/src/NROFiller.h
r1812 r1817 57 57 58 58 // pointer to the reader 59 NROReader *reader_ ; 59 //NROReader *reader_ ; 60 casa::CountedPtr<NROReader> reader_ ; 60 61 }; 61 62
Note:
See TracChangeset
for help on using the changeset viewer.