Mercurial > hg > svgui
comparison view/View.cpp @ 841:532302d04571
Add const version of this accessor
author | Chris Cannam |
---|---|
date | Tue, 02 Sep 2014 16:18:26 +0100 |
parents | 757b7baac614 |
children | ee36642b9b59 |
comparison
equal
deleted
inserted
replaced
840:d843e6275d0f | 841:532302d04571 |
---|---|
662 return layer; | 662 return layer; |
663 } | 663 } |
664 } | 664 } |
665 } | 665 } |
666 return 0; | 666 return 0; |
667 } | |
668 | |
669 const Layer * | |
670 View::getInteractionLayer() const | |
671 { | |
672 return const_cast<const Layer *>(const_cast<View *>(this)->getInteractionLayer()); | |
667 } | 673 } |
668 | 674 |
669 Layer * | 675 Layer * |
670 View::getSelectedLayer() | 676 View::getSelectedLayer() |
671 { | 677 { |