From b6628e97d8beb80f0d14e8dd52def16af182ebeb Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth <bangerth@math.tamu.edu>
Date: Thu, 17 Oct 2002 22:04:26 +0000
Subject: [PATCH] Do as much as the Standard of C++ allows.

git-svn-id: https://svn.dealii.org/trunk@6688 0785d39b-7218-0410-832d-ea1e28bc413d
---
 deal.II/base/source/parameter_handler.cc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/deal.II/base/source/parameter_handler.cc b/deal.II/base/source/parameter_handler.cc
index 0c5db04b58..59e8b757db 100644
--- a/deal.II/base/source/parameter_handler.cc
+++ b/deal.II/base/source/parameter_handler.cc
@@ -11,9 +11,6 @@
 //
 //----------------------------  parameter_handler.cc  ---------------------------
 
-
-//TODO:[WB] (compiler) replace s.c_str() by s when that is possible
-
 #include <base/parameter_handler.h>
 #include <base/logstream.h>
 #include <base/memory_consumption.h>
@@ -85,7 +82,7 @@ namespace Patterns
   bool Integer::match (const std::string &test_string) const
   {
 #ifdef HAVE_STD_STRINGSTREAM
-    std::istringstream str(test_string.c_str());
+    std::istringstream str(test_string);
 #else
     std::istrstream str(test_string.c_str());
 #endif
@@ -170,7 +167,7 @@ namespace Patterns
   bool Double::match (const std::string &test_string) const
   {
 #ifdef HAVE_STD_STRINGSTREAM
-    std::istringstream str(test_string.c_str());
+    std::istringstream str(test_string);
 #else
     std::istrstream str(test_string.c_str());
 #endif
-- 
2.39.5