From 13e210a4b78038b154c76c55d592fca6b67d4655 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 14:17:13 -0600 Subject: [PATCH] Do not use 'typename' outside templates. --- tests/base/product_type_05.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/base/product_type_05.cc b/tests/base/product_type_05.cc index aaa6bd8bbd..4dab009513 100644 --- a/tests/base/product_type_05.cc +++ b/tests/base/product_type_05.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2015 by the deal.II authors +// Copyright (C) 2015, 2016 by the deal.II authors // // This file is part of the deal.II library. // @@ -47,16 +47,16 @@ int main() deallog.threshold_double(1.e-10); check(); - deallog << typename ProductType::type(2.345)*typename ProductType::type(3.456) + deallog << ProductType::type(2.345)*ProductType::type(3.456) << ' ' - << typename ProductType::type(2.345*3.456) + << ProductType::type(2.345*3.456) << std::endl; check,std::complex,std::complex >(); - deallog << (typename ProductType,std::complex >::type(2.345, 1.23) * - typename ProductType,std::complex >::type(3.456, 2.45)) + deallog << (ProductType,std::complex >::type(2.345, 1.23) * + ProductType,std::complex >::type(3.456, 2.45)) << ' ' - << (typename ProductType,std::complex >::type + << (ProductType,std::complex >::type (std::complex(2.345, 1.23) * std::complex(3.456, 2.45))) << std::endl; -- 2.39.5