Sketcher: Clean up compiler warnings
* numpoints from double to int * Remove redundant out-of-line definition for constexpr static data member
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -228,7 +228,7 @@ public:
|
||||
|
||||
private:
|
||||
std::vector<double> weights;
|
||||
double numpoints;
|
||||
std::size_t numpoints;
|
||||
};
|
||||
|
||||
// Weighted Linear Combination
|
||||
|
||||
Reference in New Issue
Block a user