1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00
Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Baulig
94ab1bb438
Use shared_ptr to keep track of DeviceScan across multiple collections
Fixes #681.

Relying on memory allocated by `std::vector` via direct pointers is dangerous,
as vectors may move buffers during resize. This fix puts the `DeviceScan`
allocation into a `str::shared_ptr`, which 1) allocates the memory on heap and
2) keeps track of the memory through reference counting. Thus it is safe to
store the `shared_ptr` across different vectors/maps.
2021-05-30 09:34:46 +00:00
f4exb
ee3313dc82 Plugins device enumeration optimization: factorization of common code for Rx/Tx devices 2019-10-09 07:39:52 +02:00
f4exb
ef15157a50 Fixed incomplete copyright headers (1) 2019-04-11 06:39:30 +02:00
f4exb
72e29fd3f8 Moved export.h file to root of exports directory and removed util 2018-03-20 13:49:21 +01:00
f4exb
c22d146376 Adapt to MSVC linker 2018-03-03 20:23:38 +01:00
f4exb
a8b318de62 PlutoSDR: added PlutoSDR common device classes 2017-09-02 04:35:17 +02:00
f4exb
de88e305db PlutoSDR: added PlutoSDRDevice and PlutoSDRScan common device classes 2017-09-02 04:21:41 +02:00