Skip to content

Commit

Permalink
explicit and final
Browse files Browse the repository at this point in the history
  • Loading branch information
dardok committed Jul 28, 2017
1 parent 04f8d4d commit f30a31a
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

namespace eqEarth
{
class Channel : public eq::Channel
class Channel final : public eq::Channel
{
public:
Channel( eq::Window* parent );
explicit Channel( eq::Window* parent );

protected:
virtual ~Channel( );
Expand Down
4 changes: 2 additions & 2 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

namespace eqEarth
{
class Config : public eq::Config
class Config final : public eq::Config
{
public:
Config( eq::ServerPtr parent );
explicit Config( eq::ServerPtr parent );

protected:
virtual ~Config( );
Expand Down
2 changes: 1 addition & 1 deletion configEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum Type
INTERSECTION = eq::Event::USER
};

ConfigEvent( )
explicit ConfigEvent( )
{
size = sizeof( ConfigEvent );
}
Expand Down
4 changes: 2 additions & 2 deletions eqEarth.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

namespace eqEarth
{
class EQEarth : public eq::Client
class EQEarth final : public eq::Client
{
public:
EQEarth( const InitData& initData );
explicit EQEarth( const InitData& initData );

int run( );

Expand Down
4 changes: 2 additions & 2 deletions node.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

namespace eqEarth
{
class Node : public eq::Node
class Node final : public eq::Node
{
public:
Node( eq::Config* parent );
explicit Node( eq::Config* parent );

protected:
virtual ~Node( );
Expand Down
4 changes: 2 additions & 2 deletions pipe.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace eqEarth
{
class Pipe : public eq::Pipe
class Pipe final : public eq::Pipe
{
public:
Pipe( eq::Node* parent );
explicit Pipe( eq::Node* parent );

static lunchbox::Lock *getPipeLock( ) { return &_pipeLock; };

Expand Down
2 changes: 1 addition & 1 deletion renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace eqEarth
class Renderer : public osgViewer::Renderer
{
public:
Renderer( osg::Camera* camera );
explicit Renderer( osg::Camera* camera );

virtual void operator( )( osg::GraphicsContext* context );
};
Expand Down
4 changes: 2 additions & 2 deletions view.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

namespace eqEarth
{
class View : public eq::View
class View final : public eq::View
{
public:
View( eq::Layout* parent );
explicit View( eq::Layout* parent );

protected:
virtual ~View( );
Expand Down
4 changes: 2 additions & 2 deletions window.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

namespace eqEarth
{
class Window : public eq::Window
class Window final : public eq::Window
{
public:
Window( eq::Pipe* parent );
explicit Window( eq::Pipe* parent );

protected:
virtual ~Window( );
Expand Down

0 comments on commit f30a31a

Please sign in to comment.