Replace trivial constructors and destructors with defaults.
This commit is contained in:
@@ -30,11 +30,6 @@ namespace glbarcode
|
||||
}
|
||||
|
||||
|
||||
DrawingPrimitive::~DrawingPrimitive()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
double DrawingPrimitive::x() const
|
||||
{
|
||||
return mX;
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace glbarcode
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~DrawingPrimitive();
|
||||
virtual ~DrawingPrimitive() = default;
|
||||
|
||||
/**
|
||||
* Get X coordinate of primitive's origin (points).
|
||||
|
||||
@@ -23,11 +23,6 @@
|
||||
#include "DrawingPrimitives.h"
|
||||
|
||||
|
||||
glbarcode::Renderer::~Renderer()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void glbarcode::Renderer::render( double w, double h, const std::list<DrawingPrimitive*>& primitives )
|
||||
{
|
||||
drawBegin( w, h );
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace glbarcode
|
||||
/**
|
||||
* Destructor.
|
||||
*/
|
||||
virtual ~Renderer();
|
||||
virtual ~Renderer() = default;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user