Changeset 2626 for trunk/src


Ignore:
Timestamp:
08/07/12 16:06:33 (12 years ago)
Author:
Malte Marquarding
Message:

Bug fix: rtrim doesn't exist in casacore!

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/GenericEdgeDetector.cpp

    r2617 r2626  
    6161      // should be "xx%" format
    6262      String fstr = option.asString( name ) ;
    63       fstr.rtrim( '%' ) ;
     63      fstr = fstr.substr(0,fstr.size()-1) ;
    6464      fraction_ = String::toFloat( fstr ) * 0.01 ;
    6565    }
  • trunk/src/RasterEdgeDetector.cpp

    r2615 r2626  
    5858      else {
    5959        // should be "xx%" format
    60         fstr.rtrim( '%' ) ;
     60        fstr.substr(0,fstr.size()-1) ;
    6161        fraction_ = String::toFloat( fstr ) * 0.01 ;
    6262      }
Note: See TracChangeset for help on using the changeset viewer.