diff options
Diffstat (limited to 'gnuradio-runtime/lib/block_executor.h')
-rw-r--r-- | gnuradio-runtime/lib/block_executor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/block_executor.h b/gnuradio-runtime/lib/block_executor.h index b2eb2cab83..3b7089419b 100644 --- a/gnuradio-runtime/lib/block_executor.h +++ b/gnuradio-runtime/lib/block_executor.h @@ -15,6 +15,7 @@ #include <gnuradio/runtime_types.h> #include <gnuradio/tags.h> #include <fstream> +#include <memory> namespace gr { @@ -26,7 +27,7 @@ class GR_RUNTIME_API block_executor { protected: block_sptr d_block; // The block we're trying to run - std::ofstream* d_log; + std::unique_ptr<std::ofstream> d_log; // These are allocated here so we don't have to on each iteration |