Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
b1989fc9
Commit
b1989fc9
authored
May 02, 2019
by
Simon Spannagel
Browse files
Pixel: define explicit copy constructor, move constructor
parent
ef52b6ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderCLICpix2/CLICpix2/datatypes.hpp
View file @
b1989fc9
...
...
@@ -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
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment