mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
Poco::Data::Transaction should not accept transactor by reference #802
This commit is contained in:
@@ -117,7 +117,7 @@ public:
|
|||||||
/// of this Transaction object.
|
/// of this Transaction object.
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void transact(T& t)
|
void transact(const T& t)
|
||||||
/// Executes the transactor and, unless transactor throws an exception,
|
/// Executes the transactor and, unless transactor throws an exception,
|
||||||
/// commits the transaction.
|
/// commits the transaction.
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user