Commit b1989fc9 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Pixel: define explicit copy constructor, move constructor

parent ef52b6ef
......@@ -38,8 +38,27 @@ namespace caribou {
*/
class pixel {
public:
pixel(){};
virtual ~pixel(){};
pixel() = default;
/**
* @brief Required virtual destructor
*/
~pixel() override = default;
/// @{
/**
* @brief Use default copy behaviour
*/
pixel(const pixel&);
pixel& operator=(const pixel&);
/// @}
/// @{
/**
* @brief Use default move behaviour
*/
pixel(pixel&&);
pixel& operator=(pixel&&);
/// @}
/** Overloaded ostream operator for printing of pixel data
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment