diff options
author | Marco Bubke <marco.bubke@qt.io> | 2018-02-05 11:23:36 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2018-02-14 15:03:22 +0000 |
commit | dfb9e4355f14afd9b543b9967aa3095eb6b431eb (patch) | |
tree | 5cc3649f5087c8f618e3d9fc27c173cf725f99d3 /src/tools/clangrefactoringbackend/source/symbolindexer.cpp | |
parent | f6f11b53a75012c6530a4bda8edd2e66b030121f (diff) | |
download | qt-creator-dfb9e4355f14afd9b543b9967aa3095eb6b431eb.tar.gz |
Sqlite: Transaction catch exception in destructor
Fixes coverity warning. We want to throw an exception in the destructor
in this case, which is save because it is a RAII pattern and holds
only trivial values. Actually this is the only way to communicate that
rollback was failing. It is quite rare that it will be happen without an
exception is already thrown.
There is a non throwing variant too if you want to use it as a class
member.
Change-Id: Ie71ead19678619465c6ad9334d36ee666225dce7
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/tools/clangrefactoringbackend/source/symbolindexer.cpp')
0 files changed, 0 insertions, 0 deletions