Skip to content

Commit

Permalink
Re #8997. Fix gcc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Feb 26, 2014
1 parent 727d592 commit e1fc6bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Expand Up @@ -65,6 +65,7 @@ class SetAllVisibleVisitor: public SetVisibilityVisitor
{
public:
SetAllVisibleVisitor(bool showNonDet):m_showNonDet(showNonDet){}
using GLActorVisitor::visit;
bool visit(GLActor*);
bool visit(ComponentActor *actor);
private:
Expand Down
Expand Up @@ -253,6 +253,7 @@ class SetVisibleNonDetectorVisitor: public SetVisibilityVisitor
/// Constructor
/// @param on :: If true then all non-detectors will be made visible or invisible if false.
SetVisibleNonDetectorVisitor(bool on):m_on(on){}
using GLActorVisitor::visit;
bool visit(GLActor*);
private:
bool m_on;
Expand All @@ -265,6 +266,7 @@ class FindComponentVisitor: public GLActorVisitor
{
public:
FindComponentVisitor(const Mantid::Geometry::ComponentID id):m_id(id),m_actor(NULL){}
using GLActorVisitor::visit;
bool visit(GLActor*);
ComponentActor* getActor()const{return m_actor;}
private:
Expand Down

0 comments on commit e1fc6bc

Please sign in to comment.