Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-06-14 16:47:40 +0300
committerbubnikv <bubnikv@gmail.com>2019-06-14 16:47:40 +0300
commitf8c5570155e9a36a28c2147a95c1404d1c7a9f75 (patch)
tree6beb8aeda88f868d91f60b703aefec37b9223017 /src/admesh
parent77954a13b9c34c74a46ac652ef58118b3b9c6977 (diff)
Removed unnecessary copy / move constructors / assignment operators.
Diffstat (limited to 'src/admesh')
-rw-r--r--src/admesh/stl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/admesh/stl.h b/src/admesh/stl.h
index 87210b3c9..2ac6c7fd2 100644
--- a/src/admesh/stl.h
+++ b/src/admesh/stl.h
@@ -120,10 +120,6 @@ struct stl_stats {
struct stl_file {
stl_file() {}
- stl_file(const stl_file &rhs) : facet_start(rhs.facet_start), neighbors_start(rhs.neighbors_start), stats(rhs.stats) {}
- stl_file(stl_file &&rhs) : facet_start(std::move(rhs.facet_start)), neighbors_start(std::move(rhs.neighbors_start)), stats(rhs.stats) {}
- stl_file& operator=(const stl_file &rhs) { this->facet_start = rhs.facet_start; this->neighbors_start = rhs.neighbors_start; this->stats = rhs.stats; return *this; }
- stl_file& operator=(stl_file &&rhs) { this->facet_start = std::move(rhs.facet_start); this->neighbors_start = std::move(rhs.neighbors_start); this->stats = rhs.stats; return *this; }
void clear() {
this->facet_start.clear();
@@ -140,10 +136,6 @@ struct stl_file {
struct indexed_triangle_set
{
indexed_triangle_set() {}
- indexed_triangle_set(const indexed_triangle_set &rhs) : indices(rhs.indices), vertices(rhs.vertices) {}
- indexed_triangle_set(indexed_triangle_set &&rhs) : indices(std::move(rhs.indices)), vertices(std::move(rhs.vertices)) {}
- indexed_triangle_set& operator=(const indexed_triangle_set &rhs) { this->indices = rhs.indices; this->vertices = rhs.vertices; return *this; }
- indexed_triangle_set& operator=(indexed_triangle_set &&rhs) { this->indices = std::move(rhs.indices); this->vertices = std::move(rhs.vertices); return *this; }
void clear() { indices.clear(); vertices.clear(); }