mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Rule of 5 (2)
Change-Id: I62eebed201a9f61b3f89233fda4e714f0bab0db7
This commit is contained in:
@@ -62,6 +62,17 @@ Sequence::~Sequence() {
|
||||
}
|
||||
}
|
||||
|
||||
Sequence& Sequence::operator=(const Sequence& other) {
|
||||
// Self-assignment is benign
|
||||
Function::operator=(other);
|
||||
setType(other.m_type);
|
||||
setFirstInitialConditionContent(other.m_firstInitialConditionText);
|
||||
setSecondInitialConditionContent(other.m_secondInitialConditionText);
|
||||
m_indexBuffer[0] = other.m_indexBuffer[0];
|
||||
m_indexBuffer[1] = other.m_indexBuffer[1];
|
||||
return *this;
|
||||
}
|
||||
|
||||
const char * Sequence::firstInitialConditionText() {
|
||||
return m_firstInitialConditionText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user