@@ -19,7 +19,7 class VisualizationGraphWidget : public QWidget, public IVisualizationWidget { | |||
|
19 | 19 | Q_OBJECT |
|
20 | 20 | |
|
21 | 21 | public: |
|
22 | explicit VisualizationGraphWidget(const QString name = {}, QWidget *parent = 0); | |
|
22 | explicit VisualizationGraphWidget(const QString &name = {}, QWidget *parent = 0); | |
|
23 | 23 | virtual ~VisualizationGraphWidget(); |
|
24 | 24 | |
|
25 | 25 | void addVariable(std::shared_ptr<Variable> variable); |
@@ -22,7 +22,7 struct VisualizationGraphWidget::VisualizationGraphWidgetPrivate { | |||
|
22 | 22 | std::unordered_map<std::shared_ptr<Variable>, QCPAbstractPlottable *> m_VariableToPlotMap; |
|
23 | 23 | }; |
|
24 | 24 | |
|
25 | VisualizationGraphWidget::VisualizationGraphWidget(const QString name, QWidget *parent) | |
|
25 | VisualizationGraphWidget::VisualizationGraphWidget(const QString &name, QWidget *parent) | |
|
26 | 26 | : QWidget{parent}, |
|
27 | 27 | ui{new Ui::VisualizationGraphWidget}, |
|
28 | 28 | impl{spimpl::make_unique_impl<VisualizationGraphWidgetPrivate>()} |
General Comments 0
You need to be logged in to leave comments.
Login now