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/jobs | |
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/jobs')
-rw-r--r-- | lib/jobs/basejob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h index 1567e635..9ed58ba8 100644 --- a/lib/jobs/basejob.h +++ b/lib/jobs/basejob.h @@ -28,7 +28,7 @@ class QUOTIENT_API BaseJob : public QObject { static QByteArray encodeIfParam(const QString& paramPart); template <int N> - static inline auto encodeIfParam(const char (&constPart)[N]) + static auto encodeIfParam(const char (&constPart)[N]) { return constPart; } |