summaryrefslogtreecommitdiff
path: root/gr-filter/python
diff options
context:
space:
mode:
authorRyan Volz <ryan.volz@gmail.com>2021-01-07 22:34:29 -0500
committerMartin Braun <martin@gnuradio.org>2021-01-11 06:57:49 -0800
commit6d0a28f833aea97486eb2b6b8844f24caa65a872 (patch)
treeca8e1251cd2ad7c40fe9fdbe91d30f54de765b50 /gr-filter/python
parent19c68f10fae2bf5f371f36c383f9cfb13cebee58 (diff)
filter: Fix polyphase_filterbank for MSVC, w/ default move constructor.
Because of the deleted copy constructor (previously implicit, now made explicit in this commit to match fir_filter.h), polyphase_filterbank.cc fails to compile with MSVC trying to use the fft_filter_ccf copy constructor. Explicitly declaring a default move constructor fixes this by allowing it to use the move constuctor instead, which is the behavior we want. It's a mystery why MSVC requires this and other compilers don't, but it works. See #3892 for similar discussion and change for other filter classes. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
Diffstat (limited to 'gr-filter/python')
-rw-r--r--gr-filter/python/filter/bindings/fft_filter_python.cc2
-rw-r--r--gr-filter/python/filter/bindings/polyphase_filterbank_python.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-filter/python/filter/bindings/fft_filter_python.cc b/gr-filter/python/filter/bindings/fft_filter_python.cc
index 44e8a1c81b..2f24d3c0ef 100644
--- a/gr-filter/python/filter/bindings/fft_filter_python.cc
+++ b/gr-filter/python/filter/bindings/fft_filter_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(fft_filter.h) */
-/* BINDTOOL_HEADER_FILE_HASH(ba4bcb2a6271a7c9db0b1fc2c39f00ee) */
+/* BINDTOOL_HEADER_FILE_HASH(69cbae029e98a78bebb18c73fb73366e) */
/***********************************************************************************/
#include <pybind11/complex.h>
diff --git a/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc b/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc
index 1001fec7a7..e511e30282 100644
--- a/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc
+++ b/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(polyphase_filterbank.h) */
-/* BINDTOOL_HEADER_FILE_HASH(107cf4797045f9c8e227c2c741e2ed4d) */
+/* BINDTOOL_HEADER_FILE_HASH(eddfa9a8852378220a937bc1e3bc7a39) */
/***********************************************************************************/
#include <pybind11/complex.h>