From d112e19439dc8ac9f547de6b7d085f7b10ff43e2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 Jun 2012 19:22:32 +0200 Subject: [PATCH] Don't throw from firebird_rowid_backend destructor. This is useless as the exception would already be thrown if an object of this class were constructed, there is no need to also throw it when destroying it and doing this results in compilation warnings from at least MSVC. Signed-off-by: Vadim Zeitlin --- src/backends/firebird/row-id.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backends/firebird/row-id.cpp b/src/backends/firebird/row-id.cpp index 4c4de4d97..d791c9e28 100644 --- a/src/backends/firebird/row-id.cpp +++ b/src/backends/firebird/row-id.cpp @@ -18,6 +18,4 @@ firebird_rowid_backend::firebird_rowid_backend(firebird_session_backend & /* ses firebird_rowid_backend::~firebird_rowid_backend() { - // Unsupported in Firebird backend - throw soci_error("RowIDs are not supported"); }