...
This commit is contained in:
@@ -117,13 +117,11 @@ public:
|
||||
|
||||
MccMountTelemetryAstromTransform& operator=(MccMountTelemetryAstromTransform&& other)
|
||||
{
|
||||
if (this == &other) {
|
||||
return;
|
||||
if (this != &other) {
|
||||
_pec = other._pec;
|
||||
_astromEngine = other._astromEngine;
|
||||
}
|
||||
|
||||
_pec = other._pec;
|
||||
_astromEngine = other._astromEngine;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -134,13 +132,11 @@ public:
|
||||
|
||||
MccMountTelemetryAstromTransform& operator=(const MccMountTelemetryAstromTransform& other)
|
||||
{
|
||||
if (this == &other) {
|
||||
return;
|
||||
if (this != &other) {
|
||||
_pec = other._pec;
|
||||
_astromEngine = other._astromEngine;
|
||||
}
|
||||
|
||||
_pec = other._pec;
|
||||
_astromEngine = other._astromEngine;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user