From: Lukáš Lalinský Date: Sat, 24 Jul 2010 13:17:01 +0000 (+0000) Subject: Don't unnecessarily include whole X-Git-Tag: v1.7rc1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f979667be5c6cd0337ca609062a962ed478df37;p=taglib Don't unnecessarily include whole git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1153989 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/taglib/ape/apefooter.cpp b/taglib/ape/apefooter.cpp index da6494b0..61ac9965 100644 --- a/taglib/ape/apefooter.cpp +++ b/taglib/ape/apefooter.cpp @@ -24,7 +24,7 @@ * http://www.mozilla.org/MPL/ * ***************************************************************************/ -#include +#include #include #include diff --git a/taglib/mpeg/id3v2/id3v2header.cpp b/taglib/mpeg/id3v2/id3v2header.cpp index e14adcce..2c8eaac3 100644 --- a/taglib/mpeg/id3v2/id3v2header.cpp +++ b/taglib/mpeg/id3v2/id3v2header.cpp @@ -23,7 +23,7 @@ * http://www.mozilla.org/MPL/ * ***************************************************************************/ -#include +#include #include #include diff --git a/taglib/mpeg/id3v2/id3v2synchdata.cpp b/taglib/mpeg/id3v2/id3v2synchdata.cpp index b150948f..7cc94613 100644 --- a/taglib/mpeg/id3v2/id3v2synchdata.cpp +++ b/taglib/mpeg/id3v2/id3v2synchdata.cpp @@ -23,7 +23,7 @@ * http://www.mozilla.org/MPL/ * ***************************************************************************/ -#include +#include #include "id3v2synchdata.h" diff --git a/taglib/toolkit/tbytevector.cpp b/taglib/toolkit/tbytevector.cpp index 3545e8a9..cd8e8c87 100644 --- a/taglib/toolkit/tbytevector.cpp +++ b/taglib/toolkit/tbytevector.cpp @@ -23,7 +23,7 @@ * http://www.mozilla.org/MPL/ * ***************************************************************************/ -#include +#include #include #include diff --git a/taglib/toolkit/tbytevector.h b/taglib/toolkit/tbytevector.h index 3c997bf3..8ec8c82c 100644 --- a/taglib/toolkit/tbytevector.h +++ b/taglib/toolkit/tbytevector.h @@ -30,7 +30,7 @@ #include "taglib_export.h" #include -#include +#include namespace TagLib { diff --git a/taglib/toolkit/tdebug.cpp b/taglib/toolkit/tdebug.cpp index 341bb375..20181902 100644 --- a/taglib/toolkit/tdebug.cpp +++ b/taglib/toolkit/tdebug.cpp @@ -23,6 +23,7 @@ * http://www.mozilla.org/MPL/ * ***************************************************************************/ +#ifndef NDEBUG #include #include @@ -31,7 +32,6 @@ using namespace TagLib; -#ifndef NDEBUG void TagLib::debug(const String &s) { std::cerr << "TagLib: " << s << std::endl; diff --git a/taglib/toolkit/tstring.cpp b/taglib/toolkit/tstring.cpp index 876575b6..611e38cc 100644 --- a/taglib/toolkit/tstring.cpp +++ b/taglib/toolkit/tstring.cpp @@ -27,7 +27,7 @@ #include "unicode.h" #include "tdebug.h" -#include +#include #include diff --git a/taglib/toolkit/tstring.h b/taglib/toolkit/tstring.h index eb7a01ec..b3f1b477 100644 --- a/taglib/toolkit/tstring.h +++ b/taglib/toolkit/tstring.h @@ -31,7 +31,7 @@ #include "tbytevector.h" #include -#include +#include /*! * \relates TagLib::String diff --git a/taglib/toolkit/tstringlist.h b/taglib/toolkit/tstringlist.h index 7bb86646..1569d9b4 100644 --- a/taglib/toolkit/tstringlist.h +++ b/taglib/toolkit/tstringlist.h @@ -31,7 +31,7 @@ #include "tbytevectorlist.h" #include "taglib_export.h" -#include +#include namespace TagLib {