Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFitEntry.cpp

    r1932 r972  
    1111//
    1212#include "STFitEntry.h"
    13 #include <casa/iostream.h>
    1413
    15 using namespace casa;
    1614namespace asap {
    1715
    18   STFitEntry::STFitEntry()
    19   /* :
    20     functions_( std::vector<std::string>()),
    21     components_(std::vector<int>()),
    22     parameters_(std::vector<float>()),
    23     errors_(std::vector<float>()),
    24     parmasks_(std::vector<bool>()),
    25     frameinfo_(std::vector<std::string>())
    26   */
     16STFitEntry::STFitEntry()
    2717{
    2818}
     
    3020{
    3121  if ( this != &other ) {
    32     this->functions_ = std::vector<std::string>();
     22    this->functions_ = other.functions_;
    3323    this->components_ = other.components_;
    3424    this->parameters_ = other.parameters_;
    35     this->errors_ = other.errors_;
     25    this->parmasks_ = other.parmasks_;
    3626    this->frameinfo_ = other.frameinfo_;
    3727  }
    3828}
    3929
    40 STFitEntry& STFitEntry::operator=(const STFitEntry& other)
    41 {
    42   if ( this != &other ) {
    43     this->functions_ = other.functions_;
    44     this->components_ = other.components_;
    45     this->parameters_ = other.parameters_;
    46     this->errors_ = other.errors_;
    47     this->parmasks_ = other.parmasks_;
    48     this->frameinfo_ = other.frameinfo_;
    49   }
    50   return *this;
    51 }
    5230
    5331STFitEntry::~STFitEntry()
Note: See TracChangeset for help on using the changeset viewer.