From 2bc19f3a7da4cc25f929f591267035bf9c3938f9 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 9 Dec 2020 00:04:39 -0800 Subject: [PATCH] Qt: Fix build on old gcc --- src/platform/qt/VFileDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/qt/VFileDevice.cpp b/src/platform/qt/VFileDevice.cpp index 65aee4960..331720fa8 100644 --- a/src/platform/qt/VFileDevice.cpp +++ b/src/platform/qt/VFileDevice.cpp @@ -39,7 +39,7 @@ public: VFileWrapper(QFileDevice*); protected: - constexpr QFileDevice* iodev() { return static_cast(m_iodev); } + QFileDevice* iodev() { return static_cast(m_iodev); } private: static bool close(struct VFile* vf); @@ -54,7 +54,7 @@ public: VFileBufferWrapper(QBuffer*); protected: - constexpr QBuffer* iodev() { return static_cast(m_iodev); } + QBuffer* iodev() { return static_cast(m_iodev); } private: static bool close(struct VFile* vf);