Changeset 995 for trunk/src


Ignore:
Timestamp:
04/06/06 13:29:19 (19 years ago)
Author:
mar637
Message:

fixes after compiling with -Wall.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.h

    r992 r995  
    4444  STMath(bool insitu=true);
    4545
    46   ~STMath();
     46  virtual ~STMath();
    4747
    4848  /**
     
    8686  casa::CountedPtr<Scantable>
    8787    smooth(const casa::CountedPtr<Scantable>& in, const std::string& kernel,
    88                       float width);
     88                      float width);
    8989
    9090  casa::CountedPtr<Scantable>
     
    9292                  const std::vector<float>& coeff,
    9393                  const std::string& fileName,
    94                   const std::string& method);
     94                  const std::string& method);
    9595  casa::CountedPtr<Scantable>
    9696    convertFlux(const casa::CountedPtr<Scantable>& in, float d,
  • trunk/src/STSelector.cpp

    r954 r995  
    3333  intselections_(other.intselections_),
    3434  stringselections_(other.stringselections_),
    35   taql_(other.taql_),
    3635  poltypes_(other.poltypes_),
    37   order_(other.order_) {
     36  order_(other.order_),
     37  taql_(other.taql_)
     38{
    3839}
    3940
     
    110111{
    111112  order_.resize(order.size(), True);
    112   for (int i=0;i<order.size();++i) {
     113  for (unsigned int i=0;i<order.size();++i) {
    113114    order_[i] = order[i];
    114115  }
     
    121122  }
    122123  TableExprNode query;
    123   intidmap::const_iterator it = intselections_.begin();
    124   for (it; it != intselections_.end(); ++it) {
     124  intidmap::const_iterator it;
     125  for (it= intselections_.begin(); it != intselections_.end(); ++it) {
    125126    TableExprNode theset(Vector<Int>( (*it).second ));
    126127    if ( query.isNull() ) {
     
    130131    }
    131132  }
    132   stringidmap::const_iterator it1 = stringselections_.begin();
    133   for (it1; it1 != stringselections_.end(); ++it1) {
     133  stringidmap::const_iterator it1;
     134  for (it1 = stringselections_.begin(); it1 != stringselections_.end(); ++it1) {
    134135    TableExprNode theset(mathutil::toVectorString( (*it1).second ));
    135136    if ( query.isNull() ) {
     
    243244  poltypes_.clear();
    244245  std::vector<int> polints;
    245   std::vector<std::string>::const_iterator strit = pols.begin();
    246   for (strit; strit != pols.end(); ++strit) {
     246  std::vector<std::string>::const_iterator strit;
     247  for (strit = pols.begin(); strit != pols.end(); ++strit) {
    247248    std::pair<int, std::string> val;
    248249    try {
  • trunk/src/STWriter.h

    r988 r995  
    5656public:
    5757  STWriter(const string &format = "SDFITS");
    58   ~STWriter();
     58  virtual ~STWriter();
    5959
    6060  /**
  • trunk/src/STWriterWrapper.h

    r988 r995  
    2727//#                        AUSTRALIA
    2828//#
    29 //# $Id:$
     29//# $Id$
    3030//#---------------------------------------------------------------------------
    3131#ifndef STWRITERWRAPPER_H
     
    4343class STWriterWrapper : public STWriter {
    4444public:
     45  //STWriterWrapper() {;}
     46  virtual ~STWriterWrapper() {;}
    4547  STWriterWrapper(const string& format = "SDFITS") : STWriter(format) {;}
    4648
Note: See TracChangeset for help on using the changeset viewer.