1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Doxygen comments for TransactionScope

This commit is contained in:
Paul Licameli 2020-09-06 16:35:16 -04:00
parent 327ada3c46
commit 495b4afe46

View File

@ -110,10 +110,12 @@ private:
bool mBypass;
};
// Make a savepoint (a transaction, possibly nested) with the given name;
// roll it back at destruction time, unless an explicit Commit() happened first.
// Commit() must not be called again after one successful call.
// An exception is thrown from the constructor if the transaction cannot open.
//! RAII for a database transaction, possibly nested
/*! Make a savepoint (a transaction, possibly nested) with the given name;
roll it back at destruction time, unless an explicit Commit() happened first.
Commit() must not be called again after one successful call.
An exception is thrown from the constructor if the transaction cannot open.
*/
class TransactionScope
{
public: