summaryrefslogtreecommitdiff
path: root/src/plugins/cppcheck/cppcheckdiagnosticsmodel.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2022-07-19 14:33:00 +0200
committerMarco Bubke <marco.bubke@qt.io>2022-07-21 12:40:50 +0000
commit93d0b5a1d34b6dd8ff58e68c2e2daaa59a05dbb5 (patch)
tree6d9a329f7bfc83a1ab6596e8c67acc080f4ae24f /src/plugins/cppcheck/cppcheckdiagnosticsmodel.cpp
parentfdcb02d5e21cb5988078a87797de48b855eff625 (diff)
downloadqt-creator-93d0b5a1d34b6dd8ff58e68c2e2daaa59a05dbb5.tar.gz
Sqlite: Make the statement conversion operator id aware
Before you had to use an constructor which is has an integer as parameter. Like struct Foo { Foo{long long id} : id{id} {} Foo{TypeId id} : id{id} {} TypeId id; } Now you can write: struct Foo { TypeId id; } With C++ 20 we can even remove more contructors. Change-Id: I374505a037a71339b672f5f3a57b06dcf443b4bf Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/cppcheck/cppcheckdiagnosticsmodel.cpp')
0 files changed, 0 insertions, 0 deletions