1
0
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:
Carles Fernandez 2019-07-25 22:08:34 +02:00
parent b4f3720ff1
commit 281220a211
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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;