From a5916cad906bd4959c28415c0a43b410f2b35d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 23 Feb 2023 22:45:42 +0100 Subject: [PATCH] Make the MSVC2019 Debug builds compile --- src/map/IMG/trefile.cpp | 10 ---------- src/map/IMG/trefile.h | 5 ----- 2 files changed, 15 deletions(-) diff --git a/src/map/IMG/trefile.cpp b/src/map/IMG/trefile.cpp index 533607ca..7ad8659e 100644 --- a/src/map/IMG/trefile.cpp +++ b/src/map/IMG/trefile.cpp @@ -329,13 +329,3 @@ QList TREFile::subdivs(const RectC &rect, int bits, return list; } - -#ifndef QT_NO_DEBUG -QDebug IMG::operator<<(QDebug dbg, const TREFile::MapLevel &level) -{ - dbg.nospace() << "MapLevel(" << level.level << "," << level.bits << ", " - << level.subdivs << ")"; - - return dbg.space(); -} -#endif // QT_NO_DEBUG diff --git a/src/map/IMG/trefile.h b/src/map/IMG/trefile.h index 4161a807..991515c0 100644 --- a/src/map/IMG/trefile.h +++ b/src/map/IMG/trefile.h @@ -42,8 +42,6 @@ private: }; typedef RTree SubDivTree; - friend QDebug operator<<(QDebug dbg, const MapLevel &level); - bool load(int idx); int level(int bits, const Range &baseMap); int readExtEntry(Handle &hdl, quint32 &polygons, quint32 &lines, @@ -59,9 +57,6 @@ private: QMap _subdivs; }; -#ifndef QT_NO_DEBUG -QDebug operator<<(QDebug dbg, const TREFile::MapLevel &level); -#endif // QT_NO_DEBUG } #endif // IMG_TREFILE_H