mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 11:19:18 +00:00
Fix: bugprone-use-after-move
This commit is contained in:
parent
cfb6f283d4
commit
1690563acd
@ -26,7 +26,7 @@ ByteToShort::ByteToShort(const ConfigurationInterface* configuration,
|
||||
unsigned int out_streams) : role_(std::move(role)),
|
||||
in_streams_(in_streams),
|
||||
out_streams_(out_streams),
|
||||
dump_(configuration->property(role + ".dump", false))
|
||||
dump_(configuration->property(role_ + ".dump", false))
|
||||
{
|
||||
const std::string default_input_item_type("byte");
|
||||
const std::string default_output_item_type("short");
|
||||
|
@ -32,7 +32,7 @@ FreqXlatingFirFilter::FreqXlatingFirFilter(const ConfigurationInterface* configu
|
||||
: role_(std::move(role)),
|
||||
in_streams_(in_streams),
|
||||
out_streams_(out_streams),
|
||||
dump_(configuration->property(role + ".dump", false))
|
||||
dump_(configuration->property(role_ + ".dump", false))
|
||||
{
|
||||
const std::string default_input_item_type("gr_complex");
|
||||
const std::string default_output_item_type("gr_complex");
|
||||
|
Loading…
Reference in New Issue
Block a user