mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build on old gcc
This commit is contained in:
parent
d70be08dd1
commit
2bc19f3a7d
|
@ -39,7 +39,7 @@ public:
|
||||||
VFileWrapper(QFileDevice*);
|
VFileWrapper(QFileDevice*);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
constexpr QFileDevice* iodev() { return static_cast<QFileDevice*>(m_iodev); }
|
QFileDevice* iodev() { return static_cast<QFileDevice*>(m_iodev); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static bool close(struct VFile* vf);
|
static bool close(struct VFile* vf);
|
||||||
|
@ -54,7 +54,7 @@ public:
|
||||||
VFileBufferWrapper(QBuffer*);
|
VFileBufferWrapper(QBuffer*);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
constexpr QBuffer* iodev() { return static_cast<QBuffer*>(m_iodev); }
|
QBuffer* iodev() { return static_cast<QBuffer*>(m_iodev); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static bool close(struct VFile* vf);
|
static bool close(struct VFile* vf);
|
||||||
|
|
Loading…
Reference in New Issue