mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-22 05:50:09 +00:00
Fix wrong usage of move
This commit is contained in:
parent
b4f3720ff1
commit
281220a211
@ -124,9 +124,9 @@ Gnss_Satellite& Gnss_Satellite::operator=(Gnss_Satellite&& other) noexcept
|
||||
{
|
||||
if (this != &other)
|
||||
{
|
||||
this->system = std::move(other.get_system());
|
||||
this->system = other.get_system();
|
||||
this->PRN = other.get_PRN();
|
||||
this->block = std::move(other.get_block());
|
||||
this->block = other.get_block();
|
||||
this->rf_link = other.get_rf_link();
|
||||
}
|
||||
return *this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user