summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/top_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/top_block.h')
-rw-r--r--gnuradio-runtime/include/gnuradio/top_block.h2
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);