Changeset 2513


Ignore:
Timestamp:
Jul 11, 2011, 4:08:37 AM (12 years ago)
Author:
Peter
Message:

prefer init member variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/ColumnStream.cc

    r2512 r2513  
    3131
    3232  ColumnStream::ColumnStream(std::ostream& os, size_t columns)
    33     : activated_(0),os_(os)
     33    : activated_(0), margins_(columns), os_(os), width_(columns, 8)
    3434  {
    35     margins_=std::vector<size_t>(columns);
    3635    buffer_.reserve(columns);
    3736    while (buffer_.size()<columns)
    3837      buffer_.push_back(new std::stringstream);
    39     width_=std::vector<size_t>(columns, 8);
    4038  }
    4139
Note: See TracChangeset for help on using the changeset viewer.