Skip to content

Commit

Permalink
refs #5167. Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Aug 30, 2012
1 parent 9c63164 commit 0f915e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace SliceViewer
{
public:
virtual void update() = 0;
virtual void updateWithSlicePoint(const double& slicePoint) = 0;
virtual void updateWithSlicePoint(const double&) = 0;
};

/*---------------------------------------------------------
Expand All @@ -42,9 +42,8 @@ namespace SliceViewer
{
public:
virtual void update(){};
virtual void updateWithSlicePoint(const double& slicePoint)
virtual void updateWithSlicePoint(const double&)
{
UNUSED_ARG(slicePoint);
}
};

Expand Down
6 changes: 3 additions & 3 deletions Code/Mantid/MantidQt/SliceViewer/src/PeakOverlayFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ namespace MantidQt
Mantid::Kernel::V3D position;
switch(m_peakDims)
{
case PeakDimensions::LabView:
case LabView:
position = peak.getQLabFrame();
break;
case PeakDimensions::SampleView:
case SampleView:
position = peak.getQSampleFrame();
break;
case PeakDimensions::HKLView:
case HKLView:
position = peak.getHKL();
break;
default:
Expand Down

0 comments on commit 0f915e6

Please sign in to comment.