Remove warning - SnapManager initialisation order in constructor different from class declaration

This commit is contained in:
Abdullah Tahiri
2023-03-19 08:08:33 +01:00
committed by abdullahtahiriyo
parent 41408b411f
commit e763fd3d80

View File

@@ -102,19 +102,18 @@ public:
void setAngleSnapping(bool enable, Base::Vector2d referencepoint);
private:
double snapAngle;
/// Reference to ViewProviderSketch in order to access the public and the Attorney Interface
ViewProviderSketch & viewProvider;
bool angleSnapEnabled;
Base::Vector2d referencePoint;
double lastMouseAngle;
double snapAngle;
bool snapRequested;
bool snapToObjectsRequested;
bool snapToGridRequested;
bool angleSnapEnabled;
Base::Vector2d referencePoint;
/// Reference to ViewProviderSketch in order to access the public and the Attorney Interface
ViewProviderSketch & viewProvider;
/// Observer to track all the needed parameters.
std::unique_ptr<SnapManager::ParameterObserver> pObserver;
};