Skip to content
Snippets Groups Projects
Commit e4411d9b authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cleanup] Fix fallout from changing to C++11's is_convertible

parent f7b0fede
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#include <iterator> #include <iterator>
#include <type_traits> #include <type_traits>
#include "typetraits.hh"
namespace Dune namespace Dune
{ {
/*! \defgroup IteratorFacades Iterator facades /*! \defgroup IteratorFacades Iterator facades
......
...@@ -25,7 +25,7 @@ public: ...@@ -25,7 +25,7 @@ public:
template<typename T2> template<typename T2>
dummyiterator dummyiterator
( const dummyiterator<T2>& o, ( const dummyiterator<T2>& o,
typename std::enable_if<std::is_convertible<T2&, T&>::exists>::value* = 0) typename std::enable_if<std::is_convertible<T2&, T&>::value>::type* = 0)
: value(o.value) : value(o.value)
{} {}
......
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