write_frame::write_frame(write_frame&& other) : impl_(std::move(other.impl_)){}\r
write_frame& write_frame::operator=(write_frame&& other)\r
{\r
- write_frame temp(std::move(other));\r
- temp.swap(*this);\r
+ impl_ = std::move(other.impl_);\r
return *this;\r
}\r
void write_frame::swap(write_frame& other){impl_.swap(other.impl_);}\r
-\r
void write_frame::accept(core::frame_visitor& visitor){impl_->accept(*this, visitor);}\r
-\r
const pixel_format_desc& write_frame::get_pixel_format_desc() const{return impl_->desc_;}\r
const boost::iterator_range<const uint8_t*> write_frame::image_data(int index) const{return impl_->image_data(index);}\r
const audio_buffer& write_frame::audio_data() const{return impl_->audio_data_;}\r