Replace trivial constructors and destructors with defaults.

This commit is contained in:
Jim Evins
2017-12-30 17:43:03 -05:00
parent 7a8159c554
commit b11754462f
32 changed files with 19 additions and 117 deletions
-5
View File
@@ -30,11 +30,6 @@ namespace glbarcode
}
DrawingPrimitive::~DrawingPrimitive()
{
}
double DrawingPrimitive::x() const
{
return mX;
+1 -1
View File
@@ -48,7 +48,7 @@ namespace glbarcode
/**
* Destructor
*/
virtual ~DrawingPrimitive();
virtual ~DrawingPrimitive() = default;
/**
* Get X coordinate of primitive's origin (points).
-5
View File
@@ -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 );
+1 -1
View File
@@ -50,7 +50,7 @@ namespace glbarcode
/**
* Destructor.
*/
virtual ~Renderer();
virtual ~Renderer() = default;
/**