mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 17:41:19 +00:00
- fixed compilation of targets with optimization
This commit is contained in:
parent
645c7fb192
commit
6e922761a8
2 changed files with 4 additions and 2 deletions
|
@ -56,8 +56,6 @@
|
|||
#include "w_wad.h"
|
||||
#include "doomstat.h"
|
||||
|
||||
inline PClass *PObjectPointer::PointedClass() const { return static_cast<PClassType*>(PointedType)->Descriptor; }
|
||||
|
||||
extern FRandom pr_exrandom;
|
||||
FMemArena FxAlloc(65536);
|
||||
int utf8_decode(const char *src, int *size);
|
||||
|
|
|
@ -575,6 +575,10 @@ public:
|
|||
};
|
||||
|
||||
|
||||
inline PClass *PObjectPointer::PointedClass() const
|
||||
{
|
||||
return static_cast<PClassType*>(PointedType)->Descriptor;
|
||||
}
|
||||
|
||||
// Returns a type from the TypeTable. Will create one if it isn't present.
|
||||
PMap *NewMap(PType *keytype, PType *valuetype);
|
||||
|
|
Loading…
Reference in a new issue