summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_strobe_random_impl.h
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2020-08-11 11:37:36 +0100
committerMartin Braun <martin@gnuradio.org>2020-08-14 04:19:58 -0700
commit41d6265b8b049b78757770d65cee7b7e2bbbab9f (patch)
treee111cd6726b6ef423bc19fdecd79935296e7480f /gr-blocks/lib/message_strobe_random_impl.h
parent65cc420b46b8c4d715be0fe8f70e6a54f8ee0166 (diff)
blocks/message_strobe: Remove manual memory management
Diffstat (limited to 'gr-blocks/lib/message_strobe_random_impl.h')
-rw-r--r--gr-blocks/lib/message_strobe_random_impl.h2
1 files changed, 1 insertions, 1 deletions
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;