commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/02: gr-fec: switch possible C++11 code f


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/02: gr-fec: switch possible C++11 code from 'constexpr' to just 'const'.
Date: Wed, 15 Mar 2017 23:49:45 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit cee483f7851f13e797b75d08934b5d779aca5d49
Author: Michael Dickens <address@hidden>
Date:   Fri Mar 10 12:35:05 2017 -0500

    gr-fec: switch possible C++11 code from 'constexpr' to just 'const'.
---
 gr-fec/include/gnuradio/fec/polar_decoder_common.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gr-fec/include/gnuradio/fec/polar_decoder_common.h 
b/gr-fec/include/gnuradio/fec/polar_decoder_common.h
index 13b25ea..c160f4b 100644
--- a/gr-fec/include/gnuradio/fec/polar_decoder_common.h
+++ b/gr-fec/include/gnuradio/fec/polar_decoder_common.h
@@ -28,10 +28,6 @@
 #include <gnuradio/fec/generic_decoder.h>
 #include <gnuradio/fec/polar_common.h>
 
-#ifndef BOOST_CONSTEXPR_OR_CONST
-#define BOOST_CONSTEXPR_OR_CONST const
-#endif
-
 namespace gr {
   namespace fec {
     namespace code {
@@ -68,7 +64,7 @@ namespace gr {
         bool set_frame_size(unsigned int frame_size){return false;};
 
       private:
-        static BOOST_CONSTEXPR_OR_CONST float D_LLR_FACTOR;
+        static const float D_LLR_FACTOR;
         unsigned int d_frozen_bit_counter;
 
       protected:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]