Ignore:
Timestamp:
Jan 6, 2019 2:43:06 PM (4 months ago)
Author:
unxusr
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPdcoBase.cpp

    r1938 r2385  
    1818// Default Constructor
    1919//-------------------------------------------------------------------
    20 ClpPdcoBase::ClpPdcoBase () :
    21      d1_(0.0),
    22      d2_(0.0),
    23     type_(-1)
     20ClpPdcoBase::ClpPdcoBase()
     21  : d1_(0.0)
     22  , d2_(0.0)
     23  , type_(-1)
    2424{
    25 
    2625}
    2726
     
    2928// Copy constructor
    3029//-------------------------------------------------------------------
    31 ClpPdcoBase::ClpPdcoBase (const ClpPdcoBase & source) :
    32      d1_(source.d1_),
    33      d2_(source.d2_),
    34     type_(source.type_)
     30ClpPdcoBase::ClpPdcoBase(const ClpPdcoBase &source)
     31  : d1_(source.d1_)
     32  , d2_(source.d2_)
     33  , type_(source.type_)
    3534{
    36 
    3735}
    3836
     
    4038// Destructor
    4139//-------------------------------------------------------------------
    42 ClpPdcoBase::~ClpPdcoBase ()
     40ClpPdcoBase::~ClpPdcoBase()
    4341{
    44 
    4542}
    4643
     
    4946//-------------------------------------------------------------------
    5047ClpPdcoBase &
    51 ClpPdcoBase::operator=(const ClpPdcoBase& rhs)
     48ClpPdcoBase::operator=(const ClpPdcoBase &rhs)
    5249{
    53      if (this != &rhs) {
    54           d1_ = rhs.d1_;
    55           d2_ = rhs.d2_;
    56           type_ = rhs.type_;
    57      }
    58      return *this;
     50  if (this != &rhs) {
     51    d1_ = rhs.d1_;
     52    d2_ = rhs.d2_;
     53    type_ = rhs.type_;
     54  }
     55  return *this;
    5956}
     57
     58/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     59*/
Note: See TracChangeset for help on using the changeset viewer.