diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2025-03-21 14:52:43 +0100 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2025-03-28 04:05:57 +0100 |
| commit | 2a7fa4963cdab49e19e1377a3ab627584cd6e1cc (patch) | |
| tree | 94970371e995989d3e8c03a54b187b58cfe59b16 /src/corelib/text/qanystringview.h | |
| parent | d2d74673f3dccc04894f2ea67fc7662cc6ef400b (diff) | |
Shuffle Q_(ALWAYS|NEVER)_INLINE around so they can be attributes
The attribute must appear before the modifiers like 'inline' and 'constexpr'.
Change-Id: If3d143fc2f85a8eba6e3ac2ceca10720649f33cb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/text/qanystringview.h')
| -rw-r--r-- | src/corelib/text/qanystringview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qanystringview.h b/src/corelib/text/qanystringview.h index 34cf3e66a86..4b89fa6edbf 100644 --- a/src/corelib/text/qanystringview.h +++ b/src/corelib/text/qanystringview.h @@ -200,7 +200,7 @@ public: inline constexpr QAnyStringView(QLatin1StringView str) noexcept; template <typename Container, if_compatible_container<Container> = true> - constexpr Q_ALWAYS_INLINE QAnyStringView(const Container &c) noexcept + Q_ALWAYS_INLINE constexpr QAnyStringView(const Container &c) noexcept : QAnyStringView(std::data(c), QtPrivate::lengthHelperContainer(c)) {} template <typename Container, if_convertible_to<QString, Container> = true> |
