diff options
Diffstat (limited to 'src/corelib/global/qendian_p.h')
-rw-r--r-- | src/corelib/global/qendian_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qendian_p.h b/src/corelib/global/qendian_p.h index c830e65b54..d0d79d4ce4 100644 --- a/src/corelib/global/qendian_p.h +++ b/src/corelib/global/qendian_p.h @@ -65,7 +65,7 @@ protected: typedef typename S::StorageType T; typedef typename std::make_unsigned<T>::type UT; - static Q_DECL_CONSTEXPR UT mask() + static constexpr UT mask() { return ((UT(1) << width) - 1) << pos; } |