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>2020-03-04 15:06:21 +0300
committerbubnikv <bubnikv@gmail.com>2020-03-04 15:06:21 +0300
commitcab42b89ad55da8ee7198428c25ec08d34050b7b (patch)
treee15421ec6f2eb172bca6920824ba130138e28217
parentab7109568a42b9172d5a947e71e362d755329389 (diff)
Fixed some compilation warnings.vb_3dconnexion_refactoring
-rw-r--r--src/libslic3r/ExtrusionEntityCollection.hpp2
-rw-r--r--src/libslic3r/GCode/ToolOrdering.hpp8
-rw-r--r--src/libslic3r/Print.hpp2
3 files changed, 2 insertions, 10 deletions
diff --git a/src/libslic3r/ExtrusionEntityCollection.hpp b/src/libslic3r/ExtrusionEntityCollection.hpp
index 271ac71f3..dfece6949 100644
--- a/src/libslic3r/ExtrusionEntityCollection.hpp
+++ b/src/libslic3r/ExtrusionEntityCollection.hpp
@@ -106,7 +106,7 @@ public:
double total_volume() const override { double volume=0.; for (const auto& ent : entities) volume+=ent->total_volume(); return volume; }
// Following methods shall never be called on an ExtrusionEntityCollection.
- Polyline as_polyline() const {
+ Polyline as_polyline() const override {
throw std::runtime_error("Calling as_polyline() on a ExtrusionEntityCollection");
return Polyline();
};
diff --git a/src/libslic3r/GCode/ToolOrdering.hpp b/src/libslic3r/GCode/ToolOrdering.hpp
index de0460f1b..2252270d4 100644
--- a/src/libslic3r/GCode/ToolOrdering.hpp
+++ b/src/libslic3r/GCode/ToolOrdering.hpp
@@ -30,14 +30,6 @@ public:
// When allocating extruder overrides of an object's ExtrusionEntity, overrides for maximum 3 copies are allocated in place.
typedef boost::container::small_vector<int32_t, 3> ExtruderPerCopy;
- class ExtruderOverrides
- {
- public:
- ExtruderOverrides(const ExtruderPerCopy *overrides, const int correct_extruder_id) : m_overrides(overrides) {}
- private:
- const ExtruderPerCopy *m_overrides;
- };
-
// This is called from GCode::process_layer - see implementation for further comments:
const ExtruderPerCopy* get_extruder_overrides(const ExtrusionEntity* entity, int correct_extruder_id, size_t num_of_copies);
diff --git a/src/libslic3r/Print.hpp b/src/libslic3r/Print.hpp
index a23922426..1ff6e097b 100644
--- a/src/libslic3r/Print.hpp
+++ b/src/libslic3r/Print.hpp
@@ -349,7 +349,7 @@ public:
Print() = default;
virtual ~Print() { this->clear(); }
- PrinterTechnology technology() const noexcept { return ptFFF; }
+ PrinterTechnology technology() const noexcept override { return ptFFF; }
// Methods, which change the state of Print / PrintObject / PrintRegion.
// The following methods are synchronized with process() and export_gcode(),