From 4f5211f016af30428ef6b40bc35c09f5e54ecd64 Mon Sep 17 00:00:00 2001 From: Michael Dickens <michael.dickens@ettus.com> Date: Thu, 2 Apr 2015 15:01:46 -0400 Subject: fec: Move the definition of yp_kernel from the class into a temp variable in the main code. This variable is used just to find the actual Volk kernel, and its current use is not c++11 complaint. Moving it makes the code c++11 complaint on both GCC / libstdc++ and Clang / libc++. --- gr-fec/lib/cc_decoder_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-fec/lib/cc_decoder_impl.cc') diff --git a/gr-fec/lib/cc_decoder_impl.cc b/gr-fec/lib/cc_decoder_impl.cc index 20587a21ae..be505e2f8e 100644 --- a/gr-fec/lib/cc_decoder_impl.cc +++ b/gr-fec/lib/cc_decoder_impl.cc @@ -147,7 +147,7 @@ namespace gr { d_SUBSHIFT = 0; } - yp_kernel = boost::assign::map_list_of("k=7r=2", volk_8u_x4_conv_k7_r2_8u); + std::map<std::string, conv_kernel> yp_kernel = boost::assign::map_list_of("k=7r=2", volk_8u_x4_conv_k7_r2_8u); std::string k_ = "k="; std::string r_ = "r="; -- cgit v1.2.3