aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/typing.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-23 23:15:24 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-24 15:06:30 +0900
commit08fb435749f33ee5d266bbc2ea63c7c42169be97 (patch)
tree49376cb52cc2ff690752455d4884278a74f0927b /jobs/generated/typing.cpp
parenta5428e53525afbc6fe6f697edb4f742d84c9ae0c (diff)
downloadlibquotient-08fb435749f33ee5d266bbc2ea63c7c42169be97.tar.gz
libquotient-08fb435749f33ee5d266bbc2ea63c7c42169be97.zip
converters.h: Make the default toJson() less greedy
template<T> toJson(T&&) grabbed even things that it cannot convert, leading to unpleasant effects in a situation when all that was needed was one implicit conversion (e.g. from QList<QString> to QStringList). So now it's three trivial toJson() overloads instead of a template.
Diffstat (limited to 'jobs/generated/typing.cpp')
0 files changed, 0 insertions, 0 deletions