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

fixes after compiling with -Wall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 {
Note: See TracChangeset for help on using the changeset viewer.