Changeset 3052
- Timestamp:
- 10/01/15 18:39:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ScantableWrapper.h
r3046 r3052 44 44 int type=0) 45 45 { 46 GILHandler scopedRelease; 46 47 casa::Table::TableType tp = casa::Table::Memory; 47 48 if ( type == 1 ) tp = casa::Table::Plain; … … 51 52 explicit ScantableWrapper(int type=0) 52 53 { 54 GILHandler scopedRelease; 53 55 casa::Table::TableType tp = casa::Table::Memory; 54 56 if ( type == 1) tp = casa::Table::Plain; … … 63 65 ~ScantableWrapper() 64 66 { 67 GILHandler scopedRelease; 68 table_.reset(); 65 69 } 66 70 … … 69 73 70 74 ScantableWrapper copy() { 75 GILHandler scopedRelease; 71 76 return ScantableWrapper(new Scantable(*(this->getCP()), false)); 72 77 } … … 184 189 185 190 void makePersistent(const std::string& fname) 186 { table_->makePersistent(fname); } 191 { 192 GILHandler scopedRelease; 193 table_->makePersistent(fname); 194 } 187 195 188 196 void setSourceType(int stype)
Note:
See TracChangeset
for help on using the changeset viewer.