all repos — mgba @ 2bc19f3a7da4cc25f929f591267035bf9c3938f9

mGBA Game Boy Advance Emulator

Qt: Fix build on old gcc
Vicki Pfau vi@endrift.com
Wed, 09 Dec 2020 00:04:39 -0800
commit

2bc19f3a7da4cc25f929f591267035bf9c3938f9

parent

d70be08dd1d3c54eb3ff419fac0fbea3d17cb419

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/qt/VFileDevice.cppsrc/platform/qt/VFileDevice.cpp

@@ -39,7 +39,7 @@ public:

VFileWrapper(QFileDevice*); protected: - constexpr QFileDevice* iodev() { return static_cast<QFileDevice*>(m_iodev); } + QFileDevice* iodev() { return static_cast<QFileDevice*>(m_iodev); } private: static bool close(struct VFile* vf);

@@ -54,7 +54,7 @@ public:

VFileBufferWrapper(QBuffer*); protected: - constexpr QBuffer* iodev() { return static_cast<QBuffer*>(m_iodev); } + QBuffer* iodev() { return static_cast<QBuffer*>(m_iodev); } private: static bool close(struct VFile* vf);