1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 00:20:06 +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; bool mBypass;
}; };
// Make a savepoint (a transaction, possibly nested) with the given name; //! RAII for a database transaction, possibly nested
// roll it back at destruction time, unless an explicit Commit() happened first. /*! Make a savepoint (a transaction, possibly nested) with the given name;
// Commit() must not be called again after one successful call. roll it back at destruction time, unless an explicit Commit() happened first.
// An exception is thrown from the constructor if the transaction cannot open. Commit() must not be called again after one successful call.
An exception is thrown from the constructor if the transaction cannot open.
*/
class TransactionScope class TransactionScope
{ {
public: public: