aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-18 08:54:52 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-18 08:55:23 +0100
commitbd280a087ecab30f94f7937513ee298c233fcba1 (patch)
tree1209c5adc664e81e664b6be95f45dad86facdcf0 /lib/jobs
parentbc4a0f5d408d901f3c8f4dfeec0574ded04845bf (diff)
downloadlibquotient-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.h2
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;
}