diff --git a/IDEHelper/Compiler/BfResolvedTypeUtils.h b/IDEHelper/Compiler/BfResolvedTypeUtils.h index 9f8a0b7d..556d43a1 100644 --- a/IDEHelper/Compiler/BfResolvedTypeUtils.h +++ b/IDEHelper/Compiler/BfResolvedTypeUtils.h @@ -2616,6 +2616,7 @@ public: public: ~BfConstExprValueType(); + virtual bool IsOnDemand() override { return mValue.mTypeCode == BfTypeCode_Struct; } virtual bool IsConstExprValue() override { return true; } virtual BfType* GetUnderlyingType() override { return mType; }