Skip to content
Snippets Groups Projects
Commit 3b461a88 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'feature/use-std-void_t' into 'master'

Use std::void_t instead of Dune::void_t

See merge request !160
parents 1a7dddcf b11f6fc9
No related branches found
No related tags found
1 merge request!160Use std::void_t instead of Dune::void_t
Pipeline #34710 passed
......@@ -10,6 +10,7 @@
#include <cassert>
#include <string>
#include <type_traits>
#include <dune/common/exceptions.hh>
#include <dune/common/keywords.hh>
......@@ -406,7 +407,7 @@ namespace Dune
* \param t Any object of type TopologyType. The object t itself is ignored.
*/
template<class TopologyType,
class = Dune::void_t<decltype(TopologyType::dimension), decltype(TopologyType::id)>>
class = std::void_t<decltype(TopologyType::dimension), decltype(TopologyType::id)>>
explicit GeometryType(TopologyType t)
: dim_(TopologyType::dimension), none_(false), topologyId_(TopologyType::id)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment