diff options
author | Thomas Habets <thomas@habets.se> | 2020-03-22 16:30:12 +0000 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-03-26 18:48:07 +0100 |
commit | 414a495d639ffb817dd3c04d771719e938f50daf (patch) | |
tree | 613c0e70bd0a1a5dce8d16dfdcbe8d0f77d4197f /gr-blocks/lib/repack_bits_bb_impl.h | |
parent | c164d3427036bf57af9751380b731b7cd99a4f4a (diff) |
blocks: Add const to member variables that don't change
Diffstat (limited to 'gr-blocks/lib/repack_bits_bb_impl.h')
-rw-r--r-- | gr-blocks/lib/repack_bits_bb_impl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gr-blocks/lib/repack_bits_bb_impl.h b/gr-blocks/lib/repack_bits_bb_impl.h index 81dc862cb0..574aa57c48 100644 --- a/gr-blocks/lib/repack_bits_bb_impl.h +++ b/gr-blocks/lib/repack_bits_bb_impl.h @@ -22,11 +22,11 @@ private: int d_k; //! Bits on input stream int d_l; //! Bits on output stream const bool d_packet_mode; - int d_in_index; // Current bit of input byte - int d_out_index; // Current bit of output byte - bool d_align_output; //! true if the output shall be aligned, false if the input shall - //! be aligned - endianness_t d_endianness; + int d_in_index; // Current bit of input byte + int d_out_index; // Current bit of output byte + const bool d_align_output; //! true if the output shall be aligned, false if the input + //! shall be aligned + const endianness_t d_endianness; protected: int calculate_output_stream_length(const gr_vector_int& ninput_items); |