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/integrate_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-blocks/lib/integrate_impl.h') diff --git a/gr-blocks/lib/integrate_impl.h b/gr-blocks/lib/integrate_impl.h index 5d3dcb45d1..c0c58cc72c 100644 --- a/gr-blocks/lib/integrate_impl.h +++ b/gr-blocks/lib/integrate_impl.h @@ -20,8 +20,8 @@ namespace blocks { template <class T> class BLOCKS_API integrate_impl : public integrate<T> { - int d_decim; - unsigned int d_vlen; + const int d_decim; + const unsigned int d_vlen; public: integrate_impl(int decim, unsigned int vlen); -- cgit v1.2.3