]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use the has_documentation flag.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 8 Sep 2005 23:33:47 +0000 (23:33 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 8 Sep 2005 23:33:47 +0000 (23:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@11374 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index d84d70c15247e888b289e6c38f7a7e7ef2c60cc3..c4a1084b98ccc2e4908c0e1738322e63074237d0 100644 (file)
@@ -915,7 +915,7 @@ ParameterHandler::print_parameters_section (std::ostream      &out,
                                              // text after this, then add a
                                              // comment marker and align it
                                              // properly
-            if ((pd->entries[ptr->first].documentation.length() != 0)
+            if ((pd->entries[ptr->first].has_documentation())
                 ||
                 (value != pd->entries[ptr->first].value))
               out << std::setw(longest_value-value.length()+1) << " "

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.