ColumnSegment move constructor should be noexcept
This commit is contained in:
@@ -91,7 +91,7 @@ ColumnSegment::ColumnSegment(const ColumnSegment& source) : base{ source } {
|
||||
|
||||
source: The object to move
|
||||
--------------------------------------------------------------------*/
|
||||
ColumnSegment::ColumnSegment(ColumnSegment&& source) : base{source} {
|
||||
ColumnSegment::ColumnSegment(ColumnSegment&& source) noexcept : base{source} {
|
||||
m_data = std::move(source.m_data);
|
||||
} //ColumnSegment::ColumnSegment
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace speckle::record::element {
|
||||
Move constructor
|
||||
@param source The object to move
|
||||
*/
|
||||
ColumnSegment(ColumnSegment&& source);
|
||||
ColumnSegment(ColumnSegment&& source) noexcept;
|
||||
/*!
|
||||
Destructor
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user