Fixed some compilation warnings.

This commit is contained in:
bubnikv 2020-03-04 13:06:21 +01:00
parent ab7109568a
commit cab42b89ad
3 changed files with 2 additions and 10 deletions

View file

@ -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();
};