diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2022-05-25 12:36:35 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2022-05-25 12:43:44 +0200 |
commit | fc973c5ec32dc10256c81e9f199cdf6e7131b155 (patch) | |
tree | 28f905ccc93560dd50e5c8bfdfb8101341695477 /src/dal/sqlitedataprovider.cpp | |
parent | dbb8f36075d63f0b5cb7626da2252d1df423f013 (diff) | |
download | manaserv-fc973c5ec32dc10256c81e9f199cdf6e7131b155.tar.gz manaserv-fc973c5ec32dc10256c81e9f199cdf6e7131b155.tar.bz2 manaserv-fc973c5ec32dc10256c81e9f199cdf6e7131b155.tar.xz manaserv-fc973c5ec32dc10256c81e9f199cdf6e7131b155.zip |
Fixed compiler warnings about dynamic exception specifications
"warning: dynamic exception specifications are deprecated in C++11"
Fortunately, it's effectively the same thing as not mentioning anything
at all. The fact that these functions can throw this exception is
already in their documentation.
Diffstat (limited to 'src/dal/sqlitedataprovider.cpp')
-rw-r--r-- | src/dal/sqlitedataprovider.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dal/sqlitedataprovider.cpp b/src/dal/sqlitedataprovider.cpp index 73df8f76..d83dc274 100644 --- a/src/dal/sqlitedataprovider.cpp +++ b/src/dal/sqlitedataprovider.cpp @@ -204,7 +204,6 @@ void SqLiteDataProvider::disconnect() } void SqLiteDataProvider::beginTransaction() - throw (std::runtime_error) { if (!mIsConnected) { @@ -238,7 +237,6 @@ void SqLiteDataProvider::beginTransaction() } void SqLiteDataProvider::commitTransaction() - throw (std::runtime_error) { if (!mIsConnected) { @@ -272,7 +270,6 @@ void SqLiteDataProvider::commitTransaction() } void SqLiteDataProvider::rollbackTransaction() - throw (std::runtime_error) { if (!mIsConnected) { |