mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 23:02:32 +02:00
Merge pull request #13112 from sethalves/fix-overlay-asan-warning
Fix overlay asan warning
This commit is contained in:
commit
1313d28b9d
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ public:
|
|||
bool intersects { false };
|
||||
OverlayID overlayID { UNKNOWN_OVERLAY_ID };
|
||||
float distance { 0 };
|
||||
BoxFace face;
|
||||
BoxFace face { UNKNOWN_FACE };
|
||||
glm::vec3 surfaceNormal;
|
||||
glm::vec3 intersection;
|
||||
QVariantMap extraInfo;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
// Work around for a bug in the MSVC compiler that chokes when you use GLI and Qt headers together.
|
||||
#define gli glm
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-variable"
|
||||
#pragma clang diagnostic ignored "-Wignored-qualifiers"
|
||||
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include <gli/gli.hpp>
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue