mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Delete copy constructor of Raster, we dont want to use that. Getting rid of AGG warnings.
This commit is contained in:
parent
2eddacfb7e
commit
835e89f8c1
3 changed files with 11 additions and 13 deletions
|
@ -116,10 +116,6 @@ Raster::Raster() {}
|
|||
|
||||
Raster::~Raster() {}
|
||||
|
||||
Raster::Raster(const Raster &cpy) {
|
||||
*impl_ = *(cpy.impl_);
|
||||
}
|
||||
|
||||
Raster::Raster(Raster &&m):
|
||||
impl_(std::move(m.impl_)) {}
|
||||
|
||||
|
@ -188,6 +184,7 @@ void Raster::save(std::ostream& stream, Compression comp)
|
|||
<< impl_->resolution().width_px << " "
|
||||
<< impl_->resolution().height_px << " "
|
||||
<< "255 ";
|
||||
|
||||
stream.write(reinterpret_cast<const char*>(impl_->buffer().data()),
|
||||
impl_->buffer().size()*sizeof(Impl::TBuffer::value_type));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue