mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +02:00
Poco::Data::Transaction should not accept transactor by reference #802
This commit is contained in:
parent
779c5087fa
commit
6721eb128b
@ -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.
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user