1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-08-31 18:08:00 +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

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;