Make sure that own header file is included first

Each header corresponding to a .cpp file must be self-contained,
and can be #included without prerequisites.
This commit is contained in:
Urs Fleisch
2023-07-22 07:09:58 +02:00
parent cc7d23cdf5
commit d314bfa06a
77 changed files with 137 additions and 101 deletions
+2 -1
View File
@@ -23,6 +23,8 @@
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#include "mpcfile.h"
#include "tbytevector.h"
#include "tstring.h"
#include "tagunion.h"
@@ -30,7 +32,6 @@
#include "tpropertymap.h"
#include "tagutils.h"
#include "mpcfile.h"
#include "id3v1tag.h"
#include "id3v2header.h"
#include "apetag.h"
+2 -1
View File
@@ -23,12 +23,13 @@
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#include "mpcproperties.h"
#include "tstring.h"
#include "tdebug.h"
#include <bitset>
#include <cmath>
#include "mpcproperties.h"
#include "mpcfile.h"
using namespace TagLib;