aboutsummaryrefslogtreecommitdiff
path: root/voronoisplat.h
diff options
context:
space:
mode:
Diffstat (limited to 'voronoisplat.h')
-rw-r--r--voronoisplat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/voronoisplat.h b/voronoisplat.h
index fb93f09..6061ef3 100644
--- a/voronoisplat.h
+++ b/voronoisplat.h
@@ -31,7 +31,7 @@ public:
signals:
void sitesChanged(const arma::mat &sites);
void valuesChanged(const arma::vec &values);
- void colormapChanged(const ColorScale *scale);
+ void colormapChanged(const ColorScale &scale);
public slots:
// 'points' should be a 2D points matrix (each point in a row)
@@ -41,7 +41,7 @@ public slots:
void setValues(const arma::vec &values);
// Set colormap data based on the given color scale
- void setColormap(const ColorScale *scale);
+ void setColormap(const ColorScale &scale);
private:
std::vector<float> m_sites, m_values, m_cmap;