From 41d6265b8b049b78757770d65cee7b7e2bbbab9f Mon Sep 17 00:00:00 2001 From: Thomas Habets <thomas@habets.se> Date: Tue, 11 Aug 2020 11:37:36 +0100 Subject: blocks/message_strobe: Remove manual memory management --- gr-blocks/lib/message_strobe_random_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-blocks/lib/message_strobe_random_impl.h') diff --git a/gr-blocks/lib/message_strobe_random_impl.h b/gr-blocks/lib/message_strobe_random_impl.h index 9e1c898b31..5346c0c8ac 100644 --- a/gr-blocks/lib/message_strobe_random_impl.h +++ b/gr-blocks/lib/message_strobe_random_impl.h @@ -28,7 +28,7 @@ private: std::poisson_distribution<> pd; //(d_mean_ms); std::normal_distribution<> nd; //(d_mean_ms, d_std_ms); std::uniform_real_distribution<> ud; //(d_mean_ms - d_std_ms, d_mean_ms + d_std_ms); - std::shared_ptr<gr::thread::thread> d_thread; + gr::thread::thread d_thread; bool d_finished; pmt::pmt_t d_msg; const pmt::pmt_t d_port; -- cgit v1.2.3