From 4dcf384c9c001bad931754b045f6f25fcba4a922 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Milk?= <rene.milk@wwu.de> Date: Mon, 16 Apr 2018 14:43:27 +0200 Subject: [PATCH] [provider] switch to custom non_t --- dune/xt/grid/gridprovider/provider.hh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dune/xt/grid/gridprovider/provider.hh b/dune/xt/grid/gridprovider/provider.hh index 3d363c815..d7943bce1 100644 --- a/dune/xt/grid/gridprovider/provider.hh +++ b/dune/xt/grid/gridprovider/provider.hh @@ -36,10 +36,14 @@ namespace Dune { namespace XT { namespace Grid { -template <class T> -using DefaultDDGridImp = DD::SubdomainGrid<T>; +struct none_t +{ + none_t() = delete; +}; + +using DefaultDDGridImp = none_t; -template <class GridImp, typename DdGridImp = DefaultDDGridImp<GridImp>> +template <class GridImp, typename DdGridImp = DefaultDDGridImp> class GridProvider { static_assert(is_grid<GridImp>::value, ""); -- GitLab