mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Prefer initialization to assignment in constructors
This commit is contained in:
parent
7fa437232a
commit
2f04da621d
@ -28,9 +28,9 @@ ArraySignalConditioner::ArraySignalConditioner(std::shared_ptr<GNSSBlockInterfac
|
|||||||
std::string role) : data_type_adapt_(std::move(data_type_adapt)),
|
std::string role) : data_type_adapt_(std::move(data_type_adapt)),
|
||||||
in_filt_(std::move(in_filt)),
|
in_filt_(std::move(in_filt)),
|
||||||
res_(std::move(res)),
|
res_(std::move(res)),
|
||||||
role_(std::move(role))
|
role_(std::move(role)),
|
||||||
|
connected_(false)
|
||||||
{
|
{
|
||||||
connected_ = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,9 +28,9 @@ SignalConditioner::SignalConditioner(std::shared_ptr<GNSSBlockInterface> data_ty
|
|||||||
std::string role) : data_type_adapt_(std::move(data_type_adapt)),
|
std::string role) : data_type_adapt_(std::move(data_type_adapt)),
|
||||||
in_filt_(std::move(in_filt)),
|
in_filt_(std::move(in_filt)),
|
||||||
res_(std::move(res)),
|
res_(std::move(res)),
|
||||||
role_(std::move(role))
|
role_(std::move(role)),
|
||||||
|
connected_(false)
|
||||||
{
|
{
|
||||||
connected_ = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user