Skip to content

Commit

Permalink
Poco::Data::Transaction should not accept transactor by reference #802
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed May 5, 2015
1 parent 779c508 commit 6721eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/include/Poco/Data/Transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Data_API Transaction
/// of this Transaction object.

template <typename T>
void transact(T& t)
void transact(const T& t)
/// Executes the transactor and, unless transactor throws an exception,
/// commits the transaction.
{
Expand Down

0 comments on commit 6721eb1

Please sign in to comment.