Commit e2bf9857 authored by Anthony Lim's avatar Anthony Lim
Browse files

refs #26544 cpp check for ALF view

parent bd506988
......@@ -36,7 +36,6 @@ public:
private:
int m_numberOfTubesInAverage;
int m_currentRun;
};
} // namespace CustomInterfaces
......
......@@ -24,7 +24,7 @@ ALFView_view::ALFView_view(const std::string &instrument, QWidget *parent)
}
void ALFView_view::setUpInstrument(
std::string fileName,
std::string &fileName,
std::vector<std::function<bool(std::map<std::string, bool>)>> &binders) {
m_extractSingleTubeObservable = new Observable();
......
......@@ -32,7 +32,7 @@ public:
void observeAverageTube(Observer *listner);
void
setUpInstrument(const std::string fileName,
setUpInstrument(const std::string &fileName,
std::vector<std::function<bool(std::map<std::string, bool>)>>
&binders) override;
......
......@@ -28,7 +28,7 @@ BaseInstrumentView::BaseInstrumentView(const std::string &instrument,
}
void MantidQt::CustomInterfaces::BaseInstrumentView::setUpInstrument(
const std::string fileName,
const std::string &fileName,
std::vector<std::function<bool(std::map<std::string, bool>)>> &instrument) {
(void)instrument;
......
......@@ -42,7 +42,7 @@ public:
return m_instrumentWidget;
};
virtual void
setUpInstrument(const std::string fileName,
setUpInstrument(const std::string &fileName,
std::vector<std::function<bool(std::map<std::string, bool>)>>
&instrument);
virtual void addObserver(std::tuple<std::string, Observer *> &listener){};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment