Merge pull request #20097 from chennes/sketcherCompilerWarnings

Sketcher: Clean up compiler warnings
This commit is contained in:
Chris Hennes
2025-03-13 02:22:28 +00:00
committed by GitHub
3 changed files with 1 additions and 8 deletions

View File

@@ -33,9 +33,6 @@ using namespace Sketcher;
//---------- Geometry Extension
constexpr std::array<const char*, ExternalGeometryExtension::NumFlags>
ExternalGeometryExtension::flag2str;
TYPESYSTEM_SOURCE(Sketcher::ExternalGeometryExtension, Part::GeometryMigrationPersistenceExtension)
void ExternalGeometryExtension::copyAttributes(Part::GeometryExtension* cpy) const

View File

@@ -32,10 +32,6 @@
using namespace Sketcher;
//---------- Geometry Extension
constexpr std::array<const char*, InternalType::NumInternalGeometryType>
SketchGeometryExtension::internaltype2str;
constexpr std::array<const char*, GeometryMode::NumGeometryMode>
SketchGeometryExtension::geometrymode2str;
TYPESYSTEM_SOURCE(Sketcher::SketchGeometryExtension, Part::GeometryMigrationPersistenceExtension)

View File

@@ -228,7 +228,7 @@ public:
private:
std::vector<double> weights;
double numpoints;
std::size_t numpoints;
};
// Weighted Linear Combination