From 170bca70448cbeb0b4cf07882f06dddb083e1920 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Thu, 4 Feb 2016 22:53:39 +0100 Subject: [PATCH] const correctness: should define the value without const these typedefs are provided for client code to pick up the actual type; and for value_type we'd expect the type without any adornments --- src/lib/iter-adapter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/iter-adapter.hpp b/src/lib/iter-adapter.hpp index 96c92345c..1b024c912 100644 --- a/src/lib/iter-adapter.hpp +++ b/src/lib/iter-adapter.hpp @@ -539,7 +539,7 @@ namespace lib { public: typedef const INT* pointer; typedef const INT& reference; - typedef const INT value_type; + typedef INT value_type; NumIter (INT start, INT end) : i_(start)