mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 07:02:01 +08:00
Don't use the new methods on perl side (avoid test failure in tmf)
This commit is contained in:
parent
3f3de067f8
commit
2f8c88cb96
@ -108,6 +108,7 @@ void TriangleMesh::clone(const TriangleMesh& other) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef SLIC3RXS
|
||||
TriangleMesh::TriangleMesh(TriangleMesh&& other) {
|
||||
this->repaired = std::move(other.repaired);
|
||||
this->stl = std::move(other.stl);
|
||||
@ -120,6 +121,7 @@ TriangleMesh& TriangleMesh::operator= (TriangleMesh&& other)
|
||||
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
TriangleMesh::swap(TriangleMesh &other)
|
||||
|
@ -47,10 +47,11 @@ class TriangleMesh
|
||||
/// copy assignment
|
||||
TriangleMesh& operator= (const TriangleMesh& other);
|
||||
|
||||
#ifndef SLIC3RXS
|
||||
/// Move assignment
|
||||
TriangleMesh& operator= (TriangleMesh&& other);
|
||||
TriangleMesh(TriangleMesh&& other);
|
||||
|
||||
#endif
|
||||
void swap(TriangleMesh &other);
|
||||
~TriangleMesh();
|
||||
void ReadSTLFile(const std::string &input_file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user