diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-18 08:54:52 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-18 08:55:23 +0100 |
commit | bd280a087ecab30f94f7937513ee298c233fcba1 (patch) | |
tree | 1209c5adc664e81e664b6be95f45dad86facdcf0 /lib/uri.cpp | |
parent | bc4a0f5d408d901f3c8f4dfeec0574ded04845bf (diff) | |
download | libquotient-bd280a087ecab30f94f7937513ee298c233fcba1.tar.gz libquotient-bd280a087ecab30f94f7937513ee298c233fcba1.zip |
Revise inline keyword usage
- Templates and constexpr imply inline
- A function called from a single site better be inlined.
Diffstat (limited to 'lib/uri.cpp')
-rw-r--r-- | lib/uri.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri.cpp b/lib/uri.cpp index c8843dda..3ce81a21 100644 --- a/lib/uri.cpp +++ b/lib/uri.cpp @@ -75,7 +75,7 @@ static auto decodeFragmentPart(QStringView part) return QUrl::fromPercentEncoding(part.toLatin1()).toUtf8(); } -static auto matrixToUrlRegexInit() +static inline auto matrixToUrlRegexInit() { // See https://matrix.org/docs/spec/appendices#matrix-to-navigation const QRegularExpression MatrixToUrlRE { |