Qt: Fix build on old gcc

This commit is contained in:
Vicki Pfau 2020-12-09 00:04:39 -08:00
parent d70be08dd1
commit 2bc19f3a7d
1 changed files with 2 additions and 2 deletions

View File

@ -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);