summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearrayview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qbytearrayview.h')
-rw-r--r--src/corelib/text/qbytearrayview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qbytearrayview.h b/src/corelib/text/qbytearrayview.h
index 4366c37ed2..81db7029de 100644
--- a/src/corelib/text/qbytearrayview.h
+++ b/src/corelib/text/qbytearrayview.h
@@ -156,7 +156,7 @@ private:
template <typename Byte>
static const storage_type *castHelper(const Byte *data) noexcept
{ return reinterpret_cast<const storage_type*>(data); }
- static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *data) noexcept
+ static constexpr const storage_type *castHelper(const storage_type *data) noexcept
{ return data; }
public: