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/vector_source_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-blocks/lib/vector_source_impl.h') diff --git a/gr-blocks/lib/vector_source_impl.h b/gr-blocks/lib/vector_source_impl.h index de03bba548..ba380c29e9 100644 --- a/gr-blocks/lib/vector_source_impl.h +++ b/gr-blocks/lib/vector_source_impl.h @@ -24,7 +24,7 @@ private: std::vector<T> d_data; bool d_repeat; unsigned int d_offset; - unsigned int d_vlen; + const unsigned int d_vlen; bool d_settags; std::vector<tag_t> d_tags; -- cgit v1.2.3