From 1c18a3772dea39e8e617ddbf0236dec44c775542 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 14 Feb 2000 13:38:51 +0000 Subject: [PATCH] Remove outdated comment. Of course we have to redeclare the function since otherwise it would be shadowed by other virtual functions with the same name. git-svn-id: https://svn.dealii.org/trunk@2402 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/parameter_handler.cc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/deal.II/base/source/parameter_handler.cc b/deal.II/base/source/parameter_handler.cc index f2f5ee5452..e695759f68 100644 --- a/deal.II/base/source/parameter_handler.cc +++ b/deal.II/base/source/parameter_handler.cc @@ -845,21 +845,15 @@ bool MultipleParameterLoop::read_input (istream &input) { AssertThrow (input, ExcIO()); bool x = ParameterHandler::read_input (input); - if (x) init_branches (); + if (x) + init_branches (); return x; }; -bool MultipleParameterLoop::read_input (const string &filename) { - // I don't know why it is necessary to - // declare this function: simply not - // overloading it in MultipleParameterLoop - // should suffice, but then the compiler can't - // find the inherited version and complains that - // it can't find a function MultipleParameterLoop:: - // read_input (string, ostream) instead of trying the - // base class (maybe wait for gcc2.8) +bool MultipleParameterLoop::read_input (const string &filename) +{ return ParameterHandler::read_input (filename); // don't call init_branches, since this read_input // function calls -- 2.39.5