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

List:       kde-commits
Subject:    kdesupport/taglib/taglib
From:       Lukáš Lalinský <lalinsky () gmail ! com>
Date:       2010-07-24 13:17:01
Message-ID: 20100724131701.ED7FBAC7E2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1153989 by lalinsky:

Don't unnecessarily include whole <iostream>

 M  +1 -1      ape/apefooter.cpp  
 M  +1 -1      mpeg/id3v2/id3v2header.cpp  
 M  +1 -1      mpeg/id3v2/id3v2synchdata.cpp  
 M  +1 -1      toolkit/tbytevector.cpp  
 M  +1 -1      toolkit/tbytevector.h  
 M  +1 -1      toolkit/tdebug.cpp  
 M  +1 -1      toolkit/tstring.cpp  
 M  +1 -1      toolkit/tstring.h  
 M  +1 -1      toolkit/tstringlist.h  


--- trunk/kdesupport/taglib/taglib/ape/apefooter.cpp #1153988:1153989
@@ -24,7 +24,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 #include <bitset>
 
 #include <tstring.h>
--- trunk/kdesupport/taglib/taglib/mpeg/id3v2/id3v2header.cpp #1153988:1153989
@@ -23,7 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 #include <bitset>
 
 #include <tstring.h>
--- trunk/kdesupport/taglib/taglib/mpeg/id3v2/id3v2synchdata.cpp #1153988:1153989
@@ -23,7 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 
 #include "id3v2synchdata.h"
 
--- trunk/kdesupport/taglib/taglib/toolkit/tbytevector.cpp #1153988:1153989
@@ -23,7 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 
 #include <tstring.h>
 #include <tdebug.h>
--- trunk/kdesupport/taglib/taglib/toolkit/tbytevector.h #1153988:1153989
@@ -30,7 +30,7 @@
 #include "taglib_export.h"
 
 #include <vector>
-#include <iostream>
+#include <ostream>
 
 namespace TagLib {
 
--- trunk/kdesupport/taglib/taglib/toolkit/tdebug.cpp #1153988:1153989
@@ -23,6 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
+#ifndef NDEBUG
 #include <iostream>
 #include <bitset>
 
@@ -31,7 +32,6 @@
 
 using namespace TagLib;
 
-#ifndef NDEBUG
 void TagLib::debug(const String &s)
 {
   std::cerr << "TagLib: " << s << std::endl;
--- trunk/kdesupport/taglib/taglib/toolkit/tstring.cpp #1153988:1153989
@@ -27,7 +27,7 @@
 #include "unicode.h"
 #include "tdebug.h"
 
-#include <iostream>
+#include <ostream>
 
 #include <string.h>
 
--- trunk/kdesupport/taglib/taglib/toolkit/tstring.h #1153988:1153989
@@ -31,7 +31,7 @@
 #include "tbytevector.h"
 
 #include <string>
-#include <iostream>
+#include <ostream>
 
 /*!
  * \relates TagLib::String
--- trunk/kdesupport/taglib/taglib/toolkit/tstringlist.h #1153988:1153989
@@ -31,7 +31,7 @@
 #include "tbytevectorlist.h"
 #include "taglib_export.h"
 
-#include <iostream>
+#include <ostream>
 
 namespace TagLib {
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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