From 414a495d639ffb817dd3c04d771719e938f50daf Mon Sep 17 00:00:00 2001 From: Thomas Habets <thomas@habets.se> Date: Sun, 22 Mar 2020 16:30:12 +0000 Subject: blocks: Add const to member variables that don't change --- gr-blocks/lib/delay_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-blocks/lib/delay_impl.h') diff --git a/gr-blocks/lib/delay_impl.h b/gr-blocks/lib/delay_impl.h index cba81542cc..c58de83668 100644 --- a/gr-blocks/lib/delay_impl.h +++ b/gr-blocks/lib/delay_impl.h @@ -22,7 +22,7 @@ class delay_impl : public delay private: void forecast(int noutput_items, gr_vector_int& ninput_items_required); - size_t d_itemsize; + const size_t d_itemsize; int d_delta; gr::thread::mutex d_mutex_delay; -- cgit v1.2.3