Poco::Data::Transaction should not accept transactor by reference #802

This commit is contained in:
Aleksandar Fabijanic 2015-05-05 14:25:57 -05:00
parent 779c5087fa
commit 6721eb128b

View File

@ -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.
{ {