Skip to content

Commit 86cd29e

Browse files
Barthelemyawegrzyn
andauthored
[QC-277] Fix warnings with GCC9 (#517)
Co-authored-by: Adam Wegrzynek <adam.wegrzynek@cern.ch>
1 parent 0861511 commit 86cd29e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Framework/include/QualityControl/Quality.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ class Quality
3737
// Copy constructor
3838
Quality(const Quality& q);
3939

40+
/// Move constructor
41+
Quality(Quality&& other) /*noexcept*/ = default;
42+
/// Copy assignment operator
43+
Quality& operator=(const Quality& other) = default;
44+
/// Move assignment operator
45+
Quality& operator=(Quality&& other) /*noexcept*/ = default;
46+
4047
unsigned int getLevel() const;
4148
const std::string& getName() const;
4249

0 commit comments

Comments
 (0)