mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Fix warning -Wrestrict raised when using c++20
This commit is contained in:
		| @@ -31,10 +31,10 @@ FifoSignalSource::FifoSignalSource(ConfigurationInterface const* configuration, | ||||
|     [[maybe_unused]] Concurrent_Queue<pmt::pmt_t>* queue) | ||||
|     : SignalSourceBase(configuration, role, "Fifo_Signal_Source"s), | ||||
|       item_size_(sizeof(gr_complex)),  // currenty output item size is always gr_complex | ||||
|       fifo_reader_(FifoReader::make(configuration->property(role + ".filename"s, "../data/example_capture.dat"s), | ||||
|           configuration->property(role + ".sample_type"s, "ishort"s))), | ||||
|       fifo_reader_(FifoReader::make(configuration->property(role + ".filename", "../data/example_capture.dat"s), | ||||
|           configuration->property(role + ".sample_type", "ishort"s))), | ||||
|       dump_(configuration->property(role + ".dump", false)), | ||||
|       dump_filename_(configuration->property(role + ".dump_filename"s, "./data/signal_source.dat"s)) | ||||
|       dump_filename_(configuration->property(role + ".dump_filename", "./data/signal_source.dat"s)) | ||||
| { | ||||
|     if (dump_) | ||||
|         { | ||||
|   | ||||
| @@ -27,9 +27,9 @@ ZmqSignalSource::ZmqSignalSource(const ConfigurationInterface* configuration, | ||||
|     unsigned int /* out_stream [[maybe_unused]] */, | ||||
|     Concurrent_Queue<pmt::pmt_t>* /* queue [[maybe_unused]] */) | ||||
|     : SignalSourceBase(configuration, role, "ZMQ_Signal_Source"s), | ||||
|       d_item_size(decode_item_type(configuration->property(role + ".item_type"s, "gr_complex"s), nullptr, true)), | ||||
|       d_dump_filename(configuration->property(role + ".dump_filename"s, "data/zmq_dump.dat"s)), | ||||
|       d_dump(configuration->property(role + ".dump"s, false)) | ||||
|       d_item_size(decode_item_type(configuration->property(role + ".item_type", "gr_complex"s), nullptr, true)), | ||||
|       d_dump_filename(configuration->property(role + ".dump_filename", "data/zmq_dump.dat"s)), | ||||
|       d_dump(configuration->property(role + ".dump", false)) | ||||
| { | ||||
|     auto vlen = configuration->property(role + ".vlen"s, 1); | ||||
|     auto pass_tags = configuration->property(role + ".pass_tags"s, false); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez