[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevelop/languages/ada
From:       Alexander Dymo <cloudtemple () mksat ! net>
Date:       2005-05-08 20:27:31
Message-ID: 1115584051.997867.21659.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 411297 by dymo:

Do not use deprecated classes. Thanks to Santana for the patch.


 M  +2 -2      trunk/KDE/kdevelop/languages/ada/adasupportpart.cpp  


--- trunk/KDE/kdevelop/languages/ada/adasupportpart.cpp #411296:411297
@@ -16,7 +16,7 @@
 #include <kiconloader.h>
 
 #include <fstream>
-#include <strstream>
+#include <sstream>
 
 #include "kdevgenericfactory.h"
 #include "kdevcore.h"
@@ -264,7 +264,7 @@
     std::string fn (_fn.data ());
 
     QCString text = contents.utf8 ();
-    std::istrstream stream (text);
+    std::istringstream stream ((const char *)text);
 
     AdaLexer lexer (stream);
     lexer.setFilename (fn);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic