]> granicus.if.org Git - taglib/commitdiff
Don't unnecessarily include whole <iostream>
authorLukáš Lalinský <lalinsky@gmail.com>
Sat, 24 Jul 2010 13:17:01 +0000 (13:17 +0000)
committerLukáš Lalinský <lalinsky@gmail.com>
Sat, 24 Jul 2010 13:17:01 +0000 (13:17 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1153989 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

taglib/ape/apefooter.cpp
taglib/mpeg/id3v2/id3v2header.cpp
taglib/mpeg/id3v2/id3v2synchdata.cpp
taglib/toolkit/tbytevector.cpp
taglib/toolkit/tbytevector.h
taglib/toolkit/tdebug.cpp
taglib/toolkit/tstring.cpp
taglib/toolkit/tstring.h
taglib/toolkit/tstringlist.h

index da6494b0b0d2df67c59f76fc5def740ffaa64d58..61ac9965c8ad29caa7fa201df55b34b2c2b7144c 100644 (file)
@@ -24,7 +24,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 #include <bitset>
 
 #include <tstring.h>
index e14adcce15b7c6acb1e3c89156e03d2b2bee6570..2c8eaac36df009bd1ff85e4baa39641e501aad02 100644 (file)
@@ -23,7 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 #include <bitset>
 
 #include <tstring.h>
index b150948f848545e520318d3fcb787e1b6e3aa745..7cc94613f35f14c16fc0b15ac12ea68bd89d03d6 100644 (file)
@@ -23,7 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 
 #include "id3v2synchdata.h"
 
index 3545e8a93ff9a06aa2d54a60e210ec4979c659a2..cd8e8c870402de2f611df9587f327bab817f8980 100644 (file)
@@ -23,7 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#include <iostream>
+#include <ostream>
 
 #include <tstring.h>
 #include <tdebug.h>
index 3c997bf39f9b2b53677c252fac6f24aba960d1a5..8ec8c82cafd0c9aaf6a989e89aed3ce4f4637c2e 100644 (file)
@@ -30,7 +30,7 @@
 #include "taglib_export.h"
 
 #include <vector>
-#include <iostream>
+#include <ostream>
 
 namespace TagLib {
 
index 341bb375665f45eb4fe303e74c1316d5c29a46d7..20181902fd453a1a73968a5a25f766085fe2cac2 100644 (file)
@@ -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;
index 876575b6d4f18f3fcb585c96d9f23cfc1c18c6e7..611e38cc9f73711394add5795aa4b4f419d03301 100644 (file)
@@ -27,7 +27,7 @@
 #include "unicode.h"
 #include "tdebug.h"
 
-#include <iostream>
+#include <ostream>
 
 #include <string.h>
 
index eb7a01ec542f7e2c7ce0afe06b81cc38891fb9b8..b3f1b47768c7ea85e605a56f93ea704f06a44316 100644 (file)
@@ -31,7 +31,7 @@
 #include "tbytevector.h"
 
 #include <string>
-#include <iostream>
+#include <ostream>
 
 /*!
  * \relates TagLib::String
index 7bb86646f8b9bc430278f7ad68a02e11b37305a1..1569d9b4e800948809d2401847de26b4c74fc7d1 100644 (file)
@@ -31,7 +31,7 @@
 #include "tbytevectorlist.h"
 #include "taglib_export.h"
 
-#include <iostream>
+#include <ostream>
 
 namespace TagLib {