From 12e1ebb68b93b218a3553af67fee8535d79e857e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 12 Jul 2018 17:16:40 +0200 Subject: Remove local Index typedef from unit-tests --- test/mapstaticmethods.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/mapstaticmethods.cpp') diff --git a/test/mapstaticmethods.cpp b/test/mapstaticmethods.cpp index 06272d106..8156ca939 100644 --- a/test/mapstaticmethods.cpp +++ b/test/mapstaticmethods.cpp @@ -69,7 +69,6 @@ struct mapstaticmethods_impl { static void run(const PlainObjectType& m) { - typedef typename PlainObjectType::Index Index; Index rows = m.rows(), cols = m.cols(); int i = internal::random(2,5), j = internal::random(2,5); @@ -116,7 +115,6 @@ struct mapstaticmethods_impl { static void run(const PlainObjectType& v) { - typedef typename PlainObjectType::Index Index; Index size = v.size(); int i = internal::random(2,5); -- cgit v1.2.3