Ignore:
Timestamp:
Dec 22, 2009, 9:19:41 PM (12 years ago)
Author:
Peter
Message:

fixes #575 - allow copy of FileUtil?

File:
1 edited

Legend:

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

    r2121 r2125  
    5151  FileUtil::FileUtil(const std::string& path)
    5252    : path_(path)
     53  {
     54  }
     55
     56
     57  FileUtil::FileUtil(const FileUtil& other)
     58    : path_(other.path_)
    5359  {
    5460  }
     
    122128  }
    123129
     130
     131  FileUtil& FileUtil::operator=(const FileUtil& rhs)
     132  {
     133    path_ = rhs.path_;
     134    return *this;
     135  }
     136
    124137}}} // of namespace utility, yat, and theplu
Note: See TracChangeset for help on using the changeset viewer.