From 5e38f86ddc160ac9a41c023a7cc16e7650887f79 Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Fri, 22 Feb 2013 13:14:44 +0000
Subject: [PATCH] [parallelindexset] add missing implementation of state()

[[Imported from SVN: r7378]]
---
 dune/common/parallel/indexset.hh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dune/common/parallel/indexset.hh b/dune/common/parallel/indexset.hh
index f2523193c..faa75bc8b 100644
--- a/dune/common/parallel/indexset.hh
+++ b/dune/common/parallel/indexset.hh
@@ -313,7 +313,10 @@ namespace Dune
      * @brief Get the state the index set is in.
      * @return The state of the index set.
      */
-    inline const ParallelIndexSetState& state();
+    inline const ParallelIndexSetState& state()
+    {
+      return state_;
+    }
 
     /**
      * @brief Indicate that the index set is to be resized.
-- 
GitLab