summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/functionconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'spline-widget/functionconfig.h')
-rw-r--r--spline-widget/functionconfig.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/spline-widget/functionconfig.h b/spline-widget/functionconfig.h
index 6c039831..5c9eeb2b 100644
--- a/spline-widget/functionconfig.h
+++ b/spline-widget/functionconfig.h
@@ -28,9 +28,11 @@ class SPLINE_WIDGET_EXPORT Map {
private:
static constexpr int value_count = 10000;
- struct State {
+ struct State
+ {
QList<QPointF> input;
std::vector<float> data;
+ bool operator==(const State& s) const;
};
int precision() const;