[beast/devel: 2/3] TESTS: constexpr fixups for C++11



commit 18de2b622b8563c927a2ff2fd70a6db75551082f
Author: Tim Janik <timj gnu org>
Date:   Wed Jan 2 23:12:57 2013 +0100

    TESTS: constexpr fixups for C++11

 tests/bse/filtertest.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/bse/filtertest.cc b/tests/bse/filtertest.cc
index 1a89a21..5f6a99c 100644
--- a/tests/bse/filtertest.cc
+++ b/tests/bse/filtertest.cc
@@ -163,9 +163,9 @@ private:
   set<double>    m_gp_arrows;
   set<double>    m_gp_lines;
   vector<Band>	 m_spec_bands;
-  static const double FS = 10000.0;
-  static const double MIN_DB = -1000;
-  static const double DB_EPSILON = 0.01;  /* for comparisions */
+  static constexpr double FS = 10000.0;
+  static constexpr double MIN_DB = -1000;
+  static constexpr double DB_EPSILON = 0.01;  /* for comparisions */
   double
   response (double f) const
   {



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