]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not use 'typename' outside templates.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 17 Mar 2014 01:08:09 +0000 (01:08 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 17 Mar 2014 01:08:09 +0000 (01:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@32663 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/algorithms/any_data.h

index 70407aea448ecef1635ce4f9ae48dd0a1395ec6f..d5a92111d9f563e1fa75e7e17806d88ceba3069e 100644 (file)
@@ -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<std::string>::const_iterator it =
+  std::vector<std::string>::const_iterator it =
     std::find(names.begin(), names.end(), n);
   
   Assert(it != names.end(), ExcMessage("An entry with this name does not exist"));

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.