From 499fb0d523a00064e020a12dfdb76a4f89e75f65 Mon Sep 17 00:00:00 2001
From: Markus Blatt <mblatt@dune-project.org>
Date: Wed, 9 Nov 2005 12:40:30 +0000
Subject: [PATCH] Introduces size_type to be compliant with stl containers.

[[Imported from SVN: r3363]]
---
 common/sllist.hh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/common/sllist.hh b/common/sllist.hh
index 08b11ef14..3d185ef61 100644
--- a/common/sllist.hh
+++ b/common/sllist.hh
@@ -47,6 +47,11 @@ namespace Dune
 
   public:
 
+    /**
+     * @brief The size type.
+     */
+    typedef typename A::size_type size_type;
+
     /**
      * @brief The type we store.
      */
@@ -674,7 +679,9 @@ namespace Dune
   {
     assert(current);
 
+#ifndef NDEBUG
     bool changeTail = (current == tail_);
+#endif
 
     // Save old next element
     Element* tmp = current->next_;
-- 
GitLab