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