From d32eac1184a594472305cbde298881582607f2e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Fritze?= <rene.fritze@wwu.de>
Date: Wed, 17 Jul 2019 11:00:34 +0200
Subject: [PATCH] [py] fix bindings for gcc 6

---
 python/dune/xt/interfaces.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/dune/xt/interfaces.cc b/python/dune/xt/interfaces.cc
index 673f20b96..512db27d9 100644
--- a/python/dune/xt/interfaces.cc
+++ b/python/dune/xt/interfaces.cc
@@ -34,10 +34,10 @@ void add_bind_for_Grid_interface(pybind11::module& m)
 {
   using namespace Dune::XT::Functions;
   const auto grid_id = Dune::XT::Grid::bindings::grid_name<G>::value();
-  const auto diff = CombinationType::difference;
-  const auto sum = CombinationType::sum;
-  const auto prod = CombinationType::product;
-  const auto g_dim = G::dimension;
+  constexpr const auto diff = CombinationType::difference;
+  constexpr const auto sum = CombinationType::sum;
+  constexpr const auto prod = CombinationType::product;
+  constexpr const auto g_dim = G::dimension;
 
   auto i_1_1 = bind_GridFunctionInterface<G, 1, 1>(m, grid_id);
   auto i_2_1 = bind_GridFunctionInterface<G, 2, 1>(m, grid_id);
-- 
GitLab