summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/packed_to_unpacked_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/packed_to_unpacked_impl.h')
-rw-r--r--gr-blocks/lib/packed_to_unpacked_impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-blocks/lib/packed_to_unpacked_impl.h b/gr-blocks/lib/packed_to_unpacked_impl.h
index 4de1866429..1cf86d246d 100644
--- a/gr-blocks/lib/packed_to_unpacked_impl.h
+++ b/gr-blocks/lib/packed_to_unpacked_impl.h
@@ -12,7 +12,6 @@
#ifndef PACKED_TO_UNPACKED_IMPL_H
#define PACKED_TO_UNPACKED_IMPL_H
-#include <gnuradio/blocks/log2_const.h>
#include <gnuradio/blocks/packed_to_unpacked.h>
namespace gr {
@@ -26,7 +25,7 @@ private:
const endianness_t d_endianness;
unsigned int d_index;
static constexpr unsigned int d_bits_per_type = sizeof(T) * 8;
- static constexpr unsigned int d_log2_l_type = log2_const<sizeof(T) * 8>();
+ static unsigned int log2_l_type();
unsigned int get_bit_le(const T* in_vector, unsigned int bit_addr);
unsigned int get_bit_be(const T* in_vector, unsigned int bit_addr);