From: bangerth Date: Mon, 17 Mar 2014 01:08:09 +0000 (+0000) Subject: Do not use 'typename' outside templates. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1544f9839fbdd0ba81517928fa13fe58e82c2d7;p=dealii-svn.git Do not use 'typename' outside templates. git-svn-id: https://svn.dealii.org/trunk@32663 0785d39b-7218-0410-832d-ea1e28bc413d --- 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"));