summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/packed_to_unpacked_impl.h
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2019-12-21 19:21:30 +0000
committerMartin Braun <martin.braun@ettus.com>2020-01-06 15:38:02 -0800
commit2c2c65656197596b8455ae0813c3c80cea023406 (patch)
treedc7ecaf696acce1ff82a1acb4f2a730365551e51 /gr-blocks/lib/packed_to_unpacked_impl.h
parentb1afefa6b2f95cd1da9cf7736df8416f3654f79e (diff)
gr-blocks/packed&unpacked: Add const
Diffstat (limited to 'gr-blocks/lib/packed_to_unpacked_impl.h')
-rw-r--r--gr-blocks/lib/packed_to_unpacked_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/lib/packed_to_unpacked_impl.h b/gr-blocks/lib/packed_to_unpacked_impl.h
index 8d56be3f17..e49f02fa0e 100644
--- a/gr-blocks/lib/packed_to_unpacked_impl.h
+++ b/gr-blocks/lib/packed_to_unpacked_impl.h
@@ -34,8 +34,8 @@ template <class T>
class packed_to_unpacked_impl : public packed_to_unpacked<T>
{
private:
- unsigned int d_bits_per_chunk;
- endianness_t d_endianness;
+ const unsigned int d_bits_per_chunk;
+ const endianness_t d_endianness;
unsigned int d_index;
const unsigned int d_bits_per_type = sizeof(T) * 8;
const unsigned int d_log2_l_type = log2_const<sizeof(T) * 8>();