Skip to content

Commit

Permalink
Clear Intel compiler warnings. Re #3882.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Oct 27, 2011
1 parent c737372 commit bd48abb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class CustomPicker : public QwtPlotPicker
void mouseMoved(double /*x*/, double /*y*/) const;

protected:
// Unhide base class method (avoids Intel compiler warning)
using QwtPlotPicker::trackerText;
QwtText trackerText (const QwtDoublePoint & pos) const;
};

Expand All @@ -45,6 +47,8 @@ class CustomZoomer: public QwtPlotZoomer
}

protected:
// Unhide base class method (avoids Intel compiler warning)
using QwtPlotZoomer::trackerText;
virtual QwtText trackerText( const QwtDoublePoint& p ) const
{
QwtText t( QwtPlotPicker::trackerText( p ));
Expand Down

0 comments on commit bd48abb

Please sign in to comment.