Menu

#128 Compilation warning

closed-fixed
nobody
None
5
2013-11-27
2009-02-24
No

What's with

virtual const Model* Layer::getModel() const

and

virtual Model* Layer::getModel()

I don't think it is really a problem, but warn-less compilations are so cool, and there is something that sounds really ominous about hiding functions...

../sv1/layer/Layer.h:58: warning: ‘virtual Model* Layer::getModel()’ was hidden
../sv1/layer/TimeValueLayer.h:68: warning: by ‘virtual const Model* TimeValueLayer::getModel() const’

Discussion

  • Chris Cannam

    Chris Cannam - 2009-02-24
    • status: open --> pending-fixed
     
  • Chris Cannam

    Chris Cannam - 2009-02-24

    This particular one is already fixed in SVN (just this afternoon). I'll be weeding out a few other similar warnings shortly.

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.