Skip to content

Commit

Permalink
refs #5167. Fix gcc errors and warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Aug 28, 2012
1 parent c3395de commit ca8f5cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace MantidQt
/// Get the origin. md x, md y
virtual const QPointF & getOrigin() const = 0;
/// Get the radius. md x, md y
virtual const double & getRadius() const = 0;
virtual double getRadius() const = 0;
/// Update the view.
virtual void updateView() = 0;
/// Destructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ public slots:


private:
// -------------------------- Controllers ------------------------

boost::shared_ptr<PeaksPresenter> m_peaksPresenter;

// -------------------------- Widgets ----------------------------

Expand Down Expand Up @@ -271,6 +268,9 @@ public slots:

/// If true, the rebinned overlayWS is locked until refreshed.
bool m_rebinLocked;

// -------------------------- Controllers ------------------------
boost::shared_ptr<PeaksPresenter> m_peaksPresenter;
};

} // namespace SliceViewer
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/SliceViewer/test/PeaksPresenterTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PeaksPresenterTest : public CxxTest::TestSuite
public:
MOCK_METHOD1(setPlaneDistance, void(const double&));
MOCK_CONST_METHOD0(getOrigin, const QPointF&());
MOCK_CONST_METHOD0(getRadius, const double&());
MOCK_CONST_METHOD0(getRadius, const double());
MOCK_METHOD0(updateView, void());
~MockPeakOverlayView(){}
};
Expand Down

0 comments on commit ca8f5cd

Please sign in to comment.