diff options
author | Thomas Habets <thomas@habets.se> | 2020-04-10 17:40:11 +0100 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-04-11 01:41:39 +0200 |
commit | b5e8a552c09a1b9a1397e731cc6f54d427df9a67 (patch) | |
tree | dc60d92c7f53d5d15cbf42d2c5a2623a557eb7ca /gnuradio-runtime/include/gnuradio/top_block.h | |
parent | 616879745ce5d61e6acd54ad84d60359a739a27d (diff) |
runtime: Remove most manual memory management
The remaining ones:
* `pmt_pool.cc`, which is a memory allocator so that makes sense
* the tricky and aptly named `sptr_magic.cc`.
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/top_block.h')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/top_block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/include/gnuradio/top_block.h b/gnuradio-runtime/include/gnuradio/top_block.h index 5454aec035..fd8ab66a94 100644 --- a/gnuradio-runtime/include/gnuradio/top_block.h +++ b/gnuradio-runtime/include/gnuradio/top_block.h @@ -31,7 +31,7 @@ private: friend GR_RUNTIME_API top_block_sptr make_top_block(const std::string& name, bool catch_exceptions); - top_block_impl* d_impl; + std::unique_ptr<top_block_impl> d_impl; protected: top_block(const std::string& name, bool catch_exceptions = true); |