Skip to content

Commit

Permalink
refs #6279. Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Dec 11, 2012
1 parent b40403d commit 9d20f58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace MantidQt
PeakOverlayCrossFactory(QwtPlot * plot, QWidget * parent, const size_t colourNumber=0);
virtual ~PeakOverlayCrossFactory();
boost::shared_ptr<PeakOverlayView> createView(const Mantid::Kernel::V3D& position) const;
virtual void setRadius(const double& radius)
virtual void setRadius(const double&)
{
//Do nothing.
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace MantidQt
virtual ~PeakOverlaySphereFactory();
boost::shared_ptr<PeakOverlayView> createView(const Mantid::Kernel::V3D& position) const;
virtual void setRadius(const double& peakRadius);
virtual void setZRange(const double& max, const double& min)
virtual void setZRange(const double&, const double&)
{
// Do nothing.
}
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/SliceViewer/src/SliceViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2181,7 +2181,7 @@ void SliceViewer::peakOverlay_toggled(bool checked)
for(int i = 0; i < list.size(); ++i)
{
IPeaksWorkspace_sptr peaksWS = AnalysisDataService::Instance().retrieveWS<IPeaksWorkspace>(list[i].toStdString());
const int numberOfChildPresenters = m_peaksPresenter->size();
const size_t numberOfChildPresenters = m_peaksPresenter->size();
PeakOverlayViewFactory_sptr viewFactoryIntegratedPeaks = boost::make_shared<PeakOverlaySphereFactory>(m_plot, m_plot->canvas(), numberOfChildPresenters);
PeakOverlayViewFactory_sptr viewFactoryNonIntegratedPeaks = boost::make_shared<PeakOverlayCrossFactory>(m_plot, m_plot->canvas(), numberOfChildPresenters);
try
Expand Down

0 comments on commit 9d20f58

Please sign in to comment.