aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d33d542e..7ce4b808 100644
--- a/lib/jobs/basejob.h
+++ b/lib/jobs/basejob.h
@@ -180,7 +180,7 @@ public:
* If there's no top-level JSON object in the response or if there's
* no node with the key \p keyName, \p defaultValue is returned.
*/
- template <typename T, typename StrT> // Waiting for QStringViews...
+ template <typename T, typename StrT>
T loadFromJson(const StrT& keyName, T&& defaultValue = {}) const
{
const auto& jv = jsonData().value(keyName);