Qt: Fix build on old gcc
Vicki Pfau vi@endrift.com
Wed, 09 Dec 2020 00:04:39 -0800
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/platform/qt/VFileDevice.cpp
→
src/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);