From ab2d5d97d62930ee94afe2a22876463ccfc8f59b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Mon, 20 Nov 2023 19:05:02 -0300 Subject: [PATCH] fix gcc/clang --- src/common/textures/textureid.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/textures/textureid.h b/src/common/textures/textureid.h index ae025c76cb5..5237acdae35 100644 --- a/src/common/textures/textureid.h +++ b/src/common/textures/textureid.h @@ -1,5 +1,7 @@ #pragma once +#include + enum class ETextureType : uint8_t { Any, @@ -28,7 +30,7 @@ class FTextureID public: FTextureID() = default; - FTextureID(nullptr_t) : texnum(0) {} + FTextureID(std::nullptr_t) : texnum(0) {} bool isNull() const { return texnum == 0; } bool isValid() const { return texnum > 0; } bool Exists() const { return texnum >= 0; }