SegList: Don't allow copying

pull/2/head
Tatsuhiro Tsujikawa 2011-10-31 23:04:37 +09:00
parent 57b37db8a1
commit 22a3e44d36
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ private:
std::vector<std::pair<T, T> > segs_;
size_t index_;
T val_;
// Don't allow copying
SegList(const SegList<T>&);
SegList& operator=(const SegList<T>&);
};
} // namespace aria2