From 4eed1c6cd2e9e0ead6eb0d70d9a5df8f6b7af774 Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Mon, 22 Jun 2009 14:41:14 +0000
Subject: [PATCH] use enable_if instead of EnableIf.

patch by Andreas Lauser

[[Imported from SVN: r1028]]
---
 istl/communicator.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/istl/communicator.hh b/istl/communicator.hh
index 05ba04b4a..5ceb2e9e5 100644
--- a/istl/communicator.hh
+++ b/istl/communicator.hh
@@ -481,7 +481,7 @@ namespace Dune
      * @param interface The interface that defines what indices are to be communicated.
      */
     template<class Data>
-    typename EnableIf<is_same<SizeOne,typename CommPolicy<Data>::IndexedTypeFlag>::value, void>::Type
+    typename enable_if<is_same<SizeOne,typename CommPolicy<Data>::IndexedTypeFlag>::value, void>::type
     build(const Interface& interface);
 
     /**
@@ -1152,7 +1152,7 @@ namespace Dune
 
   template<typename T>
   template<class Data>
-  typename EnableIf<is_same<SizeOne, typename CommPolicy<Data>::IndexedTypeFlag>::value, void>::Type
+  typename enable_if<is_same<SizeOne, typename CommPolicy<Data>::IndexedTypeFlag>::value, void>::type
   BufferedCommunicator<T>::build(const Interface& interface)
   {
     typedef typename Interface::InformationMap::const_iterator const_iterator;
-- 
GitLab