Replace use of deprecated C++ headers
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
//
|
||||
//
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <limits>
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
//
|
||||
//
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <limits>
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
2
3rdparty/taglib/mpc/mpcproperties.cpp
vendored
2
3rdparty/taglib/mpc/mpcproperties.cpp
vendored
@@ -26,7 +26,7 @@
|
||||
#include <tstring.h>
|
||||
#include <tdebug.h>
|
||||
#include <bitset>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "mpcproperties.h"
|
||||
#include "mpcfile.h"
|
||||
|
||||
@@ -23,10 +23,11 @@
|
||||
* http://www.mozilla.org/MPL/ *
|
||||
***************************************************************************/
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include <tbytevectorlist.h>
|
||||
#include <tpropertymap.h>
|
||||
#include <tdebug.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chapterframe.h"
|
||||
|
||||
|
||||
@@ -23,15 +23,14 @@
|
||||
* http://www.mozilla.org/MPL/ *
|
||||
***************************************************************************/
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
#include "tbytevectorstream.h"
|
||||
#include "tstring.h"
|
||||
#include "tdebug.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
using namespace Strawberry_TagLib::TagLib;
|
||||
|
||||
class ByteVectorStream::ByteVectorStreamPrivate {
|
||||
|
||||
2
3rdparty/taglib/toolkit/tfile.cpp
vendored
2
3rdparty/taglib/toolkit/tfile.cpp
vendored
@@ -33,7 +33,7 @@
|
||||
# include <windows.h>
|
||||
# include <io.h>
|
||||
#else
|
||||
# include <stdio.h>
|
||||
# include <cstdio>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
2
3rdparty/taglib/toolkit/tfilestream.cpp
vendored
2
3rdparty/taglib/toolkit/tfilestream.cpp
vendored
@@ -30,7 +30,7 @@
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <stdio.h>
|
||||
# include <cstdio>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
2
3rdparty/taglib/toolkit/tutils.h
vendored
2
3rdparty/taglib/toolkit/tutils.h
vendored
@@ -35,7 +35,7 @@
|
||||
# endif
|
||||
|
||||
# if defined(HAVE_MSC_BYTESWAP)
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
# elif defined(HAVE_GLIBC_BYTESWAP)
|
||||
# include <byteswap.h>
|
||||
# elif defined(HAVE_MAC_BYTESWAP)
|
||||
|
||||
2
3rdparty/taglib/xm/xmfile.cpp
vendored
2
3rdparty/taglib/xm/xmfile.cpp
vendored
@@ -29,7 +29,7 @@
|
||||
#include "modfileprivate.h"
|
||||
#include "tpropertymap.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace Strawberry_TagLib::TagLib;
|
||||
|
||||
Reference in New Issue
Block a user