From 260a92333426f4610e7f5ed3fc5f4d18882671ee Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 22 Jun 2013 10:30:26 +0200 Subject: explicit template specialization cannot have a storage class --- test/main.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/main.h') diff --git a/test/main.h b/test/main.h index b3ed96000..6db976073 100644 --- a/test/main.h +++ b/test/main.h @@ -378,12 +378,12 @@ template struct GetDifferentType > { typedef std::complex::type> type; }; template static std::string type_name() { return "other"; } -template<> static std::string type_name() { return "float"; } -template<> static std::string type_name() { return "double"; } -template<> static std::string type_name() { return "int"; } -template<> static std::string type_name >() { return "complex"; } -template<> static std::string type_name >() { return "complex"; } -template<> static std::string type_name >() { return "complex"; } +template<> std::string type_name() { return "float"; } +template<> std::string type_name() { return "double"; } +template<> std::string type_name() { return "int"; } +template<> std::string type_name >() { return "complex"; } +template<> std::string type_name >() { return "complex"; } +template<> std::string type_name >() { return "complex"; } // forward declaration of the main test function void EIGEN_CAT(test_,EIGEN_TEST_FUNC)(); -- cgit v1.2.3