From b122bb8299bc2c5ce5e3695bd6c02ddf41d659fe Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 17 Mar 2014 01:08:09 +0000 Subject: [PATCH] Do not use 'typename' outside templates. git-svn-id: https://svn.dealii.org/trunk@32663 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/algorithms/any_data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/include/deal.II/algorithms/any_data.h b/deal.II/include/deal.II/algorithms/any_data.h index 70407aea44..d5a92111d9 100644 --- a/deal.II/include/deal.II/algorithms/any_data.h +++ b/deal.II/include/deal.II/algorithms/any_data.h @@ -1,7 +1,7 @@ // --------------------------------------------------------------------- // $Id: named_data.h 30036 2013-07-18 16:55:32Z maier $ // -// Copyright (C) 2000 - 2013 by the deal.II authors +// Copyright (C) 2000 - 2014 by the deal.II authors // // This file is part of the deal.II library. // @@ -164,7 +164,7 @@ inline unsigned int AnyData::find(const std::string& n) const { - typename std::vector::const_iterator it = + std::vector::const_iterator it = std::find(names.begin(), names.end(), n); Assert(it != names.end(), ExcMessage("An entry with this name does not exist")); -- 2.39.5