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

Pixel: make move and copy trivial

parent f12058b9
Pipeline #836334 passed with stages
in 15 minutes and 35 seconds
......@@ -48,16 +48,16 @@ namespace caribou {
/**
* @brief Use default copy behaviour
*/
pixel(const pixel&);
pixel& operator=(const pixel&);
pixel(const pixel&) = default;
pixel& operator=(const pixel&) = default;
/// @}
/// @{
/**
* @brief Use default move behaviour
*/
pixel(pixel&&);
pixel& operator=(pixel&&);
pixel(pixel&&) = default;
pixel& operator=(pixel&&) = default;
/// @}
/** 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