Object lifecycle cleanup in glbarcode.

This commit is contained in:
Jim Evins
2018-02-11 17:28:55 -05:00
parent 9aff6c2e2f
commit a932ca74a2
6 changed files with 31 additions and 29 deletions
+6
View File
@@ -50,6 +50,12 @@ namespace glbarcode
*/
virtual ~DrawingPrimitive() = default;
/*
* Non-copyable
*/
DrawingPrimitive( const DrawingPrimitive & ) = delete;
void operator=( const DrawingPrimitive & ) = delete;
/**
* Get X coordinate of primitive's origin (points).
*/